-
Notifications
You must be signed in to change notification settings - Fork 0
Ubuntu
guarddog-dp edited this page Sep 29, 2024
·
4 revisions

Here are the up-to-date instructions to install Docker and the DCX container on Ubuntu 24.04 LTS (Noble)
sudo apt update
sudo apt upgrade -y
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo tee /etc/apt/keyrings/docker.gpg > /dev/null
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io -y
sudo systemctl enable docker
docker pull guarddogai/prod:latest
Replace <DEVICE_NAME>, <USER_EMAIL>, and <LICENSE_KEY> with your actual values:
docker run -it --cap-add NET_ADMIN --net=host --privileged --restart always -v /etc/guarddog:/etc/guarddog --name gdai guarddogai/prod:latest
sudo systemctl status docker
docker ps
docker stop gdai
- The container is set to automatically restart because of the --restart always option included in the run command.