Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using volumes is broken: cgroups: cgroup mountpoint does not exist: unknown. #4

Closed
JohannesBe opened this issue Apr 13, 2021 · 3 comments

Comments

@JohannesBe
Copy link

[docker@CACTUS johannes]$ docker run -it --privileged cruizba/ubuntu-dind
[Tue Apr 13 14:21:11 UTC 2021] [INFO] [/usr/local/bin/startup.sh] Starting supervisor
[Tue Apr 13 14:21:11 UTC 2021] [INFO] [/usr/local/bin/startup.sh] Waiting for processes to be running
[Tue Apr 13 14:21:11 UTC 2021] [INFO] [/usr/local/bin/startup.sh] Process dockerd is not running yet. Retrying in 1 seconds
[Tue Apr 13 14:21:11 UTC 2021] [INFO] [/usr/local/bin/startup.sh] Waited 0 seconds of 30 seconds
[Tue Apr 13 14:21:12 UTC 2021] [INFO] [/usr/local/bin/startup.sh] Process dockerd is not running yet. Retrying in 1 seconds
[Tue Apr 13 14:21:12 UTC 2021] [INFO] [/usr/local/bin/startup.sh] Waited 1 seconds of 30 seconds
[Tue Apr 13 14:21:13 UTC 2021] [INFO] [/usr/local/bin/startup.sh] dockerd is running
root@67596c7b7c2f:/# docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
root@67596c7b7c2f:/# docker run -v /mnt:/mnt -it alpine
Unable to find image 'alpine:latest' locally
latest: Pulling from library/alpine
ca3cd42a7c95: Pull complete 
Digest: sha256:ec14c7992a97fc11425907e908340c6c3d6ff602f5f13d899e6b7027c9b4133a
Status: Downloaded newer image for alpine:latest
docker: Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown.
ERRO[0004] error waiting for container: context canceled 
root@67596c7b7c2f:/# 
@rzadp
Copy link

rzadp commented May 27, 2022

@JohannesBe Did you ever find a workaround for this?

@JohannesBe
Copy link
Author

JohannesBe commented May 27, 2022 via email

@cruizba
Copy link
Owner

cruizba commented May 27, 2022

@JohannesBe @rzadp

Correct. This is just a dirty hacky experiment which takes people attention for some reason. But the Good way is to use (https://github.com/nestybox/sysbox

I mention that this is an experiment in the end of the README.md

@cruizba cruizba closed this as completed Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants