This commit is contained in:
Adrian Lyjak 2019-04-11 20:04:47 -04:00
parent b91db4f360
commit da0e2cee17
1 changed files with 4 additions and 3 deletions

View File

@ -66,10 +66,11 @@ EOF
# Note that the nvidia-docker version must match the docker-ce version
# --force-confold prevents prompt for replacement of daemon.json
apt-get -y update
# pin versions https://github.com/NVIDIA/nvidia-docker/wiki/Frequently-Asked-Questions#how-do-i-install-20-if-im-not-using-the-latest-docker-version
apt-get install -y --allow-downgrades -o Dpkg::Options::="--force-confold" \
nvidia-docker2 \
nvidia-container-runtime \
docker-ce
nvidia-docker2=2.0.3+docker18.09.4-1 \
nvidia-container-runtime=2.0.0+docker18.09.4-1 \
docker-ce=5:18.09.4~3-0~debian-stretch
# Disable a few things that break docker-ce/gpu support upon reboot:
# Upon boot, the kops-configuration.service systemd unit sets up and starts