From 703b2658c2007696ea0192aa03c4156664578437 Mon Sep 17 00:00:00 2001 From: Ciprian Hacman Date: Tue, 5 Nov 2019 00:24:11 +0200 Subject: [PATCH] Update Docker installation instructions (#17405) --- .../container-runtimes.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/content/en/docs/setup/production-environment/container-runtimes.md b/content/en/docs/setup/production-environment/container-runtimes.md index 9594fd2946d42..92daafc56b3a0 100644 --- a/content/en/docs/setup/production-environment/container-runtimes.md +++ b/content/en/docs/setup/production-environment/container-runtimes.md @@ -64,17 +64,18 @@ is to drain the Node from its workloads, remove it from the cluster and re-join ## Docker On each of your machines, install Docker. -Version 18.06.2 is recommended, but 1.11, 1.12, 1.13, 17.03 and 18.09 are known to work as well. +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. Keep track of the latest verified Docker version in the Kubernetes release notes. Use the following commands to install Docker on your system: {{< tabs name="tab-cri-docker-installation" >}} -{{< tab name="Ubuntu 16.04" codelang="bash" >}} +{{< tab name="Ubuntu 16.04+" codelang="bash" >}} # Install Docker CE ## Set up the repository: ### Install packages to allow apt to use a repository over HTTPS -apt-get update && apt-get install apt-transport-https ca-certificates curl software-properties-common +apt-get update && apt-get install \ + apt-transport-https ca-certificates curl software-properties-common ### Add Docker’s official GPG key curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - @@ -86,7 +87,9 @@ add-apt-repository \ stable" ## Install Docker CE. -apt-get update && apt-get install docker-ce=18.06.2~ce~3-0~ubuntu +apt-get update && apt-get install \ + docker-ce=5:19.03.* \ + docker-ce-cli=5:19.03.* # Setup daemon. cat > /etc/docker/daemon.json <