Running Agent DVR Video Surveillance Platform in Docker
#AgentDVR #Docker #Linux #iSpy
Full steps can be found at https://i12bretro.github.io/tutorials/0782.html
--------------------------------------------------------------------
What is Agent DVR?
--------------------------------------------------------------------
Agent DVR (our next gen version of iSpy) is a super advanced video surveillance platform for Windows, macOS, Linux, Raspberry Pi and Docker. Agent has a unified user interface that runs on all modern computers, mobile devices and even Virtual Reality. - https://www.ispyconnect.com/download.aspx
--------------------------------------------------------------------
Installing Docker
--------------------------------------------------------------------
01. Log into the Linux based device
02. Run the following commands in the terminal
# install prerequisites
sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
# add docker gpg key
curl -fsSL https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -
# add docker software repository
sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable"
# install docker
sudo apt install docker-ce docker-compose containerd.io -y
# enable and start docker service
sudo systemctl enable docker && sudo systemctl start docker
# add the current user to the docker group
sudo usermod -aG docker $USER
# reauthenticate for the new group membership to take effect
su - $USER
--------------------------------------------------------------------
Running the Agent DVR Container
--------------------------------------------------------------------
01. Now that Docker is installed, run the following commands to setup the Agent DVR Docker container and run it
# create working directory structure
mkdir ~/docker/agentdvr/{config,media,commands} -p
# set ownership on the working directories
sudo chown "$USER":"$USER" ~/docker -R
# run the agentdvr container
docker run -d --name=agentdvr -p 8090:8090 -p 3478:3478/udp -p 50000-50010:50000-50010/udp -v ~/docker/agentdvr/config/:/agent/Media/XML/ -v ~/docker/agentdvr/media/:/agent/Media/WebServerRoot/Media/ -v ~/docker/agentdvr/commands/:/agent/Commands/ -e TZ=America/New_York doitandbedone/ispyagentdvr
02. Open a web browser and navigate to http://DNSorIP:8090
03. Select a language ≫ Click OK
04. Welcome to Agent DVR
Documentation: https://hub.docker.com/r/doitandbedone/ispyagentdvr
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro