Click here to Skip to main content
15,886,963 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello Guys!

I have MX Linux 23 on my computer and I want docker on it. I followed the installation instructions at:

How to Install Docker on MX Linux 23 | Docker Install Guide | Docker Linux Installation | Bookworm - YouTube[^]

What I have tried:

But when I run: sudo docker run hello-world after get this:

docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.

So I run:

sudo systemctl start docker

But I get this:

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Posted
Updated 8-Nov-23 9:28am

1 solution

It may be that your version of Linux is not supported. It is always best to stay away from Youtube when learning new products, and use instead the official documentation: Install Docker Desktop on Linux | Docker Docs[^].
 
Share this answer
 
Comments
folza 9-Nov-23 8:08am    
I solved. The MX Linux 23 was not booted with systemd. In the terminal with this command, you can change it with GUI: sudo mx-boot-options

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900