Browse Source

fix: [docker-host] update docker version

upd-docker
Nicolas JEUDY 3 years ago
parent
commit
83cdac9773
  1. 4
      precise/host/hooks/install.d/60-docker.sh

4
precise/host/hooks/install.d/60-docker.sh

@ -14,7 +14,7 @@ fi
if [ -n "$just_installed" ]; then if [ -n "$just_installed" ]; then
need_restart= need_restart=
docker_version=17
docker_version=19.03
if ! [[ "$(docker --version)" == "Docker version $docker_version"* ]]; then if ! [[ "$(docker --version)" == "Docker version $docker_version"* ]]; then
version="$(apt-cache madison docker-ce | version="$(apt-cache madison docker-ce |
cut -f 2 -d \| | cut -f 2 -d \| |
@ -29,4 +29,4 @@ if [ -n "$just_installed" ]; then
systemctl daemon-reload && systemctl daemon-reload &&
service docker restart service docker restart
fi fi
fi
fi
Loading…
Cancel
Save