docker: Error response from daemon
oleksandr-minakov opened this issue · comments
Oleksandr Minakov commented
I have this error (on commit 75c9f52 all worked properly).
Env:
- ubuntu 16.04
- docker 1.11.2
- kubectl 1.2.0
docker: Error response from daemon: linux mounts: Path /var/lib/kubelet is mounted on / but it is not a shared mount..
Chris Pickett commented
Problem is cgroup memory not enabled in the linux distro.
Open the file: /etc/default/grub
Edit the line with: GRUB_CMDLINE_LINUX="" to be:
GRUB_CMDLINE_LINUX="cgroup_enable=memory"
Then run update-grub with a reboot and it should work.