docker-toolbox windows 10 home failed start any image with error message "cgroups: cannot find cgroup mount destination: unknown"
Opened this issue · 0 comments
Slach commented
Steps to reproduce
docker-machine create
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
docker run --rm -it ubuntu:18.04 bash
Unable to find image 'ubuntu:18.04' locally
18.04: Pulling from library/ubuntu
Status: Downloaded newer image for ubuntu:18.04
C:\Portable\Docker Toolbox\docker.exe: Error response from daemon: cgroups: cannot find cgroup mount destination: unknown.
Workaround found here:
docker/for-linux#219
docker-machine ssh -- "sudo mkdir /sys/fs/cgroup/systemd"
docker-machine ssh -- "sudo mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd"