"Failed to start docker.service: Unit docker.service not found."

Wappler 5.1.5
Operating system: Linux Fedora 36

I’ve installed docker desktop following https://docs.docker.com/desktop/install/

It’s installed well (can run docker commands, and the docker desktop UI is showing the ‘hello world’ container)

When running Wappler, the system check says that Docker Desktop is insalled. But then it can’t run the app: Failed to start docker.service: Unit docker.service not found.

Now I think I might’ve found the cause (but not sure, very new to Linux):
From the docker docs they say I can see logs by using this command:

journalctl --user --unit=docker-desktop

When I run that I see: docker-desktop.service which makes me think that the code Wappler uses to run Docker should be looking for:
docker-desktop.service

Instead of:
docker.service

Hey,
Any particular reason you installed docker desktop on Fedora instead of docker engine? Isn’t the docker desktop intended more towards windows? It may be the case wappler is expecting a docker engine on linux and not the desktop version.

2 Likes

Reason is that docker desktop installs all necessary stuff including docker engine

So I thought it’s simply an easier way to ensure everything is installed correctly.

But - perhaps my assumption is completely wrong, thanks for the input! I’ve actually tried to install docker engine as well last night which removes the error but now simply nothing happens when starting the application in Wappler.

I’ll try uninstall docker desktop and online install docker engine and docker compose now…

If you have any other ideas they’re welcome! As I said, I’m completely new to linux so I might be making some beginner mistakes

I’ve uninstalled all dockers and installed docker-engine again.
Now I get a new error:

Bringing all services up ...
/bin/bash: line 1: docker-compose: command not found
Error Launching Services!

Although my docker compose is installed.

I think it has to do with compatiblity, I can’t run the docker-compose command. However I can run the docker compose command.

I don’t have docker desktop so I can’t enable this compatibility mode as I did before:

Any tips on how to solve it?