File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker c
1010
1111# Add Docker's official GPG key:
1212sudo apt-get update
13- sudo apt-get install ca-certificates curl
13+ sudo apt-get install -y ca-certificates curl
1414sudo install -m 0755 -d /etc/apt/keyrings
1515sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
1616sudo chmod a+r /etc/apt/keyrings/docker.asc
2323sudo apt-get update
2424
2525# Install docker
26- sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
26+ sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
2727# END OFFICIAL DOCKER INSTALL
2828
2929sudo groupadd docker
@@ -37,11 +37,11 @@ curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dear
3737 sed ' s#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
3838 sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
3939sudo apt-get update
40- sudo apt-get install -y nvidia-container-toolkit
40+ sudo apt-get install -y nvidia-docker2
4141sudo nvidia-ctk runtime configure --runtime=docker
4242sudo systemctl restart docker
4343
44- sudo apt install git-lfs
44+ sudo apt install -y git-lfs
4545
4646# Install rocker and rocker extensions which are used to launch the devcontainer
4747# pip install rocker off-your-rocker git+https://github.com/blooop/deps_rocker
You can’t perform that action at this time.
0 commit comments