Hello,
I’ve new installed docker on a actual Debian 12 machine after https://docs.docker.com/engine/install/debian. As root user I can start the hello-world example without problem. As none root user not.
When I install deocker desktop after https://docs.docker.com/desktop/setup/install/linux/debian/ is the command blocked and I must kill it.
Without docker desktop I become the error:
tester@a1:~$ docker run hello-world
docker: Cannot connect to the Docker daemon at unix:///home/bm/.docker/desktop/docker.sock. Is the docker daemon running?
The user itself is add to the group:
root@a1:~# cat /etc/group | grep docker
docker:x:994:tester
Installed docker packages:
root@a1:~# dpkg -l | grep docker
ii docker-buildx-plugin 0.22.0-1~debian.12~bookworm amd64 Docker Buildx cli plugin.
ii docker-ce 5:28.0.2-1~debian.12~bookworm amd64 Docker: the open-source application container engine
ii docker-ce-cli 5:28.0.2-1~debian.12~bookworm amd64 Docker CLI: the open-source application container engine
ii docker-ce-rootless-extras 5:28.0.2-1~debian.12~bookworm amd64 Rootless support for Docker.
ii docker-compose 1.29.2-3 all define and run multi-container Docker applications with YAML
ii docker-compose-plugin 2.34.0-1~debian.12~bookworm amd64 Docker Compose (V2) plugin for the Docker CLI.
ii python3-docker 5.0.3-1 all Python 3 wrapper to access docker.io's control socket
ii python3-dockerpty 0.4.1-4 all Pseudo-tty handler for docker Python client (Python 3.x)
Docker is active:
root@a1:~# systemctl is-active docker
active
Have everyone an idee to solve this problem? Please without sudo. sudo is not allowed, than I can work directly as root.
docker desktop is also not a alternative solution. It use KVM VM and I have running VirtualBox. Booth together not working.
Thanks for our help,
Bernd