codeedu/wsl2-docker-quickstart

An error while running the container

Closed this issue · 2 comments

I have installed docker on WSL 2, but when i run the container such as hello-world, it is a error about "docker: Error response from daemon: failed to create shim: OCI runtime create failed: systemd cgroup flag passed, but systemd support for managing cgroups is not available: unknown.
ERRO[0000] error waiting for container: context canceled "
error

Hi @xyhxjw ,

Which distribution of Linux did you install on Windows with WSL 2? (Ubuntu, Debian e etc).

I see that the terminal is running with root user and it doesn't seem to be in Windows, is that right?