CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

[Bug]: Docker is not running, try to start

Open AuthorShin opened this issue 2 years ago • 7 comments

What happened?

When installing a fresh CasaOS we faced with Docker is not running, try to start error. (It was originally founded on the previous release) Expected behavior: Install and run/start Docker without problem. Reporter: @YoussofKhawaja

Screenshots

unknown

AuthorShin avatar Jul 22 '22 14:07 AuthorShin

Can you run systemctl is-active docker and post me a screenshot?

jerrykuku avatar Jul 25 '22 00:07 jerrykuku

@jerrykuku here you go:

AuthorShin avatar Jul 25 '22 15:07 AuthorShin

This looks like a Docker installation failure, but I can't get the real results of its installation, so that's why it appears. I will find a way to solve this problem.

jerrykuku avatar Jul 27 '22 10:07 jerrykuku

i have the same issue; is your appstore working?

Nick-0098 avatar Jul 27 '22 14:07 Nick-0098

@Nick-0098 No, my App Store is not working.

AuthorShin avatar Jul 27 '22 23:07 AuthorShin

@AuthorShin I solved the issue. Open a terminal and install docker manually. After that, run sudo systemct start docker That's it

I run sudo systemctl enable docker to make it launch at startup

screwdriver99 avatar Jul 31 '22 13:07 screwdriver99

From: https://discord.com/channels/884667213326463016/937284394681516082/1006752405666410516

@JohnGuan:

I wonder if it is possible for us to detect the docker snap in the script and then prompt the user on how to uninstall the existing docker snap?

@Hedius :

Hmm you could check if the command snap is available and then check if it is installed snap remove or so

JohnGuan avatar Aug 10 '22 06:08 JohnGuan

The new install script should have fixed the problem, I will close it and if there are still any problems you can reopen it.

jerrykuku avatar Aug 25 '22 08:08 jerrykuku