Skip to content

Commit

Permalink
document docker cgroupdriver req
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiehannaford committed Oct 17, 2017
1 parent 4300917 commit 23229ad
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/setup/independent/install-kubeadm.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,19 @@ systemctl enable docker && systemctl start docker

{% endcapture %}

**Note**: Please make sure the default cgroup driver for Docker is `systemd`. For certain versions of Docker,
it will be set to `cgroupfs` which will cause incompatability issues with the kubelet. To fix, run this:

```bash
cat << EOF > /etc/docker/daemon.json
{
"exec-opts": ["native.cgroupdriver=systemd"]
}
EOF
```

and restart Docker.

{% assign tab_set_name = "docker_install" %}
{% assign tab_names = "Ubuntu, Debian or HypriotOS;CentOS, RHEL or Fedora" | split: ';' | compact %}
{% assign tab_contents = site.emptyArray | push: docker_ubuntu | push: docker_centos %}
Expand Down

0 comments on commit 23229ad

Please sign in to comment.