Skip to content

Commit

Permalink
Use systemd cgroup manager for Docker on Ubuntu (#542)
Browse files Browse the repository at this point in the history
Signed-off-by: Marko Mudrinić <[email protected]>
  • Loading branch information
kubermatic-bot authored Jul 3, 2019
1 parent e1603f2 commit 6753f8c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/installer/installation/prerequisites.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ if type docker &>/dev/null && type kubelet &>/dev/null; then exit 0; fi
sudo mkdir -p /etc/docker
cat <<EOF | sudo tee /etc/docker/daemon.json
{"storage-driver": "overlay2"}
{
"exec-opts": ["native.cgroupdriver=systemd"],
"storage-driver": "overlay2"
}
EOF
sudo apt-get update
Expand Down

0 comments on commit 6753f8c

Please sign in to comment.