Can't start the docker daemon (dockerd) in slackware 15
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can't start the docker daemon (dockerd) in slackware 15
Hi
When I try to start the docker service by running
Code:
sudo /etc/rc.d/rc.docker start
for some reason it won't work, it will just say "starting dockerd..." when it should say "starting dockerd... Done" instead, and it will give no error message, then when I try to run "docker run" with any image afterwards, it says it can't locate the apropriate socket and tells me to check if the daemon is running, which it isn't
I tried both with the slackbuild from slackbuilds.org and with the binary from alien's repo, and the result is the same
No matter what I do, the docker daemon just completely refuses to start, and the worst part is, I have no idea why it's doing it or why it refuses to tell me anything else as to why it doesn't want to start.
Code:
bash-5.1$ su
Password:
bash-5.1# chmod +x /etc/rc.d/rc.docker
bash-5.1# exit
exit
bash-5.1$ sudo /etc/rc.d/rc.docker start
Password:
Starting dockerd ...
bash-5.1$ /etc/rc.d/rc.docker status
Status of dockerd: stopped
bash-5.1$ docker ps -a
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
bash-5.1$ sudo /etc/rc.d/rc.docker restart
Stopping dockerd ... done
Starting dockerd ...
bash-5.1$ /etc/rc.d/rc.docker status
Status of dockerd: stopped
bash-5.1$ docker ps -a
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
bash-5.1$
This is a fresh install of docker from Alien's repo.
I am on slackware 15.0
Docker just completely refuses to start no matter what I do.
How do I figure out just why docker just refuses to start?
EDIT: Forget this post please. I was a derp and didn't notice in alien's blogpost that docker has dependencies
No matter what I do, the docker daemon just completely refuses to start, and the worst part is, I have no idea why it's doing it or why it refuses to tell me anything else as to why it doesn't want to start.
Code:
bash-5.1$ su
Password:
bash-5.1# chmod +x /etc/rc.d/rc.docker
bash-5.1# exit
exit
bash-5.1$ sudo /etc/rc.d/rc.docker start
Password:
Starting dockerd ...
bash-5.1$ /etc/rc.d/rc.docker status
Status of dockerd: stopped
bash-5.1$ docker ps -a
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
bash-5.1$ sudo /etc/rc.d/rc.docker restart
Stopping dockerd ... done
Starting dockerd ...
bash-5.1$ /etc/rc.d/rc.docker status
Status of dockerd: stopped
bash-5.1$ docker ps -a
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
bash-5.1$
This is a fresh install of docker from Alien's repo.
I am on slackware 15.0
Docker just completely refuses to start no matter what I do.
How do I figure out just why docker just refuses to start?
EDIT: Forget this post please. I was a derp and didn't notice in alien's blogpost that docker has dependencies
Hi,
Did you solve that problem? I had the same problem
this is an old thread, you ought to open a new one, even if your case looks similar. Did you check those dependencies already? Did you check the logs of that docker daemon?
Thanks everyone, I have successfully run docker in slackwareloong, thank you
Code:
root@slackwareloong:~#
root@slackwareloong:~# docker --version
Docker version 25.0.5, build
root@slackwareloong:~# /etc/rc.d/rc.docker status
Status of dockerd: running
root@slackwareloong:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c5b824a5d890 a9b447c5031f "/bin/bash" 50 minutes ago Up 2 minutes ecstatic_elgamal
root@slackwareloong:~# uname -a
Linux slackwareloong.slackwarecn 6.8.2 #1 SMP PREEMPT_DYNAMIC Fri Mar 29 14:46:36 CST 2024 loongarch64 GNU/Linux
root@slackwareloong:~#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.