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

ujust install-docker doesn't work #2130

Open
ricperry opened this issue Jan 14, 2025 · 1 comment
Open

ujust install-docker doesn't work #2130

ricperry opened this issue Jan 14, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@ricperry
Copy link

ricperry commented Jan 14, 2025

Describe the bug

When I run 'ujust install-docker' and then reboot, the docker service isn't running. When I attempt to start the service with 'systemctl start docker' I get the error message "Failed to start docker.service: Unit docker.service not found."

What did you expect to happen?

I expected the docker service to be installed, and to start automatically after it's installed, thus allowing me to run docker images.

Output of rpm-ostree status

State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
                   Digest: sha256:fd884c23497e08b860aa4c12763d17584a45641d05b6bff6c76c698c32254b53
                  Version: 41.20250106.3 (2025-01-07T04:22:09Z)
          LayeredPackages: dnfdragora

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
                   Digest: sha256:fd884c23497e08b860aa4c12763d17584a45641d05b6bff6c76c698c32254b53
                  Version: 41.20250106.3 (2025-01-07T04:22:09Z)

Hardware

AMD 5900X + 6900X, AM4 x570, 32GB DDR4, NVME storage

Extra information or context

I need docker to be up and running for some testing, and I don't want to test outside of a container. When I saw the ujust menu entry 'ujust install-docker' I thought I was golden. But then it just doesn't work, and there aren't any error messages. And when I try to invoke docker from the command line, it just can't find the program. The weird thing is that the whole system seems to be dependent on docker, so it must be available. Am I going crazy?

@dosubot dosubot bot added the bug Something isn't working label Jan 14, 2025
@salty2011
Copy link

@ricperry I am also having issue, however when watching the install process it appears to install the docker-cli into bazzite and then install a distrobox container that has docker setup. at the end of the install there is an instruction stating run distrobox enter --root docker and this then completes an install of docker inside the container.

However after that if try running docker run hello-wold i get docker run hello-world
docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Head "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.

this issue is caused by the /var/run/docker.sock only being accessible to root. however if you run the docker command with sudo it failes due to docker-cli tools missing.

Pretty sure i must be missing / doing something wrong here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants