Skip to content

Commit

Permalink
Updated Recommended docker version (kubernetes#12591)
Browse files Browse the repository at this point in the history
* Updated Recommended docker version

* minor changes
  • Loading branch information
Himanshu Pandey authored and Kevin Wiesmüller committed Feb 28, 2019
1 parent 16b551c commit 2331f93
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions content/en/docs/setup/cri.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,19 @@ This page contains installation instruction for various runtimes.
Please proceed with executing the following commands based on your OS as root.
You may become the root user by executing `sudo -i` after SSH-ing to each host.

{{< caution >}}
A flaw was found in the way runc handled system file descriptors when running containers.
A malicious container could use this flaw to overwrite contents of the runc binary and
consequently run arbitrary commands on the container host system.

Please refer to this link for more information about this issue
[cve-2019-5736 : runc vulnerability ] (https://access.redhat.com/security/cve/cve-2019-5736)
{{< /caution >}}

## Docker

On each of your machines, install Docker.
Version 18.06 is recommended, but 1.11, 1.12, 1.13, 17.03 and 18.09 are known to work as well.
Version 18.06.2 is recommended, but 1.11, 1.12, 1.13, 17.03 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:
Expand All @@ -45,7 +54,7 @@ Use the following commands to install Docker on your system:
stable"

## Install docker ce.
apt-get update && apt-get install docker-ce=18.06.0~ce~3-0~ubuntu
apt-get update && apt-get install docker-ce=18.06.2~ce~3-0~ubuntu

# Setup daemon.
cat > /etc/docker/daemon.json <<EOF
Expand Down Expand Up @@ -78,7 +87,7 @@ yum-config-manager \
https://download.docker.com/linux/centos/docker-ce.repo

## Install docker ce.
yum update && yum install docker-ce-18.06.1.ce
yum update && yum install docker-ce-18.06.2.ce

## Create /etc/docker directory.
mkdir /etc/docker
Expand Down

0 comments on commit 2331f93

Please sign in to comment.