Last active
October 25, 2021 18:13
-
-
Save andmax/daea6c84bfe3d0e0ff332498fd0e1fe0 to your computer and use it in GitHub Desktop.
Revisions
-
andmax renamed this gist
Oct 25, 2021 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
andmax created this gist
Oct 19, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ # Fresh install Docker + avoid VPN conflict sudo rm -rf /etc/docker/* sudo apt-get remove --purge *docker* sudo apt-get autoremove sudo apt-get autoclean sudo apt update sudo apt install apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" sudo apt update apt-cache policy docker-ce https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html curl https://get.docker.com | sh && sudo systemctl --now enable docker sudo vim /etc/docker/daemon.json { "runtimes": { "nvidia": { "path": "nvidia-container-runtime", "runtimeArgs": [] } }, "default-address-pools" : [{ "base" : "168.240.0.0/16", "size" : 24 }], "bip" : "192.168.1.1/24" }