-
Notifications
You must be signed in to change notification settings - Fork 44
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
Can't install Docker #931
Comments
The reason why cgroup/devices is not mounted automatically I can't tell you unfortunately I don't use docker, I only installed it in a test installation years ago |
There is a package called cgroupfs-mount that does the directory and mount. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On http://forum.xbian.org/thread-4021.html you shared (in 2019) a script to install Docker.
Neither that script nor the one at https://docs.docker.com/engine/install/raspberry-pi-os/ quite work.
To be more precise: they both install Docker, but it can't be run.
When trying to run
status docker
we get
-bash: status: command not found
And with
sudo docker run hello-world
we get
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
In the end of /var/log/docker.log there's
failed to start daemon: Devices cgroup isn't mounted
A workaround is to edit /etc/init.d/docker and add
sudo mkdir /sys/fs/cgroup/devices
sudo mount -t cgroup -o devices devices /sys/fs/cgroup/devices
in the beginning.
status docker
still doesn't work though.Is there a way to fix this in a more reliable manner?
The text was updated successfully, but these errors were encountered: