You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# post install general
sudo groupadd docker
sudo usermod -aG docker $USER# next one is to avoid a re-login
newgrp docker
docker run hello-world
sudo systemctl enable docker
# post-install to run prune periodically
sudo crontab -e
0 2 *** /usr/bin/docker system prune -f 2>&1# if you'd like to use special DNS servers from within# your containers, then do the following:
sudo nano /etc/docker/daemon.json
# and add the following:
{
"dns": ["192.168.16.5" , "192.168.16.6"]
}
# where the IPs are from your DNS servers.# They will be used from within containers started on your host.