An error while running the container
Closed this issue · 2 comments
xyhxjw commented
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 "
argentinaluiz commented
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?
mhqmarques commented
The systemd doesn't works in the wsl so you must initiate the docker daemon
manually. In the Debian diatributions you can use service command to do
this.
Marlon Henrique
(31)986131547
Em qua., 27 de abr. de 2022 08:44, Luiz Carlos ***@***.***>
escreveu:
… Hi @xyhxjw <https://github.com/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?
—
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALO6DYQWNTBZ5DPO572SEA3VHESCXANCNFSM5UOKDNBQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>