Update Docker installation instructions to use v19.03.8 (#19643)
This commit is contained in:
@@ -64,7 +64,7 @@ is to drain the Node from its workloads, remove it from the cluster and re-join
|
|||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
On each of your machines, install Docker.
|
On each of your machines, install Docker.
|
||||||
Version 19.03.4 is recommended, but 1.13.1, 17.03, 17.06, 17.09, 18.06 and 18.09 are known to work as well.
|
Version 19.03.8 is recommended, but 1.13.1, 17.03, 17.06, 17.09, 18.06 and 18.09 are known to work as well.
|
||||||
Keep track of the latest verified Docker version in the Kubernetes release notes.
|
Keep track of the latest verified Docker version in the Kubernetes release notes.
|
||||||
|
|
||||||
Use the following commands to install Docker on your system:
|
Use the following commands to install Docker on your system:
|
||||||
@@ -88,9 +88,9 @@ add-apt-repository \
|
|||||||
|
|
||||||
## Install Docker CE.
|
## Install Docker CE.
|
||||||
apt-get update && apt-get install -y \
|
apt-get update && apt-get install -y \
|
||||||
containerd.io=1.2.10-3 \
|
containerd.io=1.2.13-1 \
|
||||||
docker-ce=5:19.03.4~3-0~ubuntu-$(lsb_release -cs) \
|
docker-ce=5:19.03.8~3-0~ubuntu-$(lsb_release -cs) \
|
||||||
docker-ce-cli=5:19.03.4~3-0~ubuntu-$(lsb_release -cs)
|
docker-ce-cli=5:19.03.8~3-0~ubuntu-$(lsb_release -cs)
|
||||||
|
|
||||||
# Setup daemon.
|
# Setup daemon.
|
||||||
cat > /etc/docker/daemon.json <<EOF
|
cat > /etc/docker/daemon.json <<EOF
|
||||||
@@ -123,9 +123,9 @@ yum-config-manager --add-repo \
|
|||||||
|
|
||||||
## Install Docker CE.
|
## Install Docker CE.
|
||||||
yum update -y && yum install -y \
|
yum update -y && yum install -y \
|
||||||
containerd.io-1.2.10 \
|
containerd.io-1.2.13 \
|
||||||
docker-ce-19.03.4 \
|
docker-ce-19.03.8 \
|
||||||
docker-ce-cli-19.03.4
|
docker-ce-cli-19.03.8
|
||||||
|
|
||||||
## Create /etc/docker directory.
|
## Create /etc/docker directory.
|
||||||
mkdir /etc/docker
|
mkdir /etc/docker
|
||||||
|
|||||||
Reference in New Issue
Block a user