Docker-compose command not found

Just installed linux (Pop!OS) and put Wappler on it.
Got everything working except clicking the ‘deploy’ button throws this error:

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

Now I can deploy perfectly fine by writing docker-compose up in the terminal.

I think it might be because of https://askubuntu.com/questions/1396689/docker-compose-cant-execute-command-docker-compose-not-found

Docker Compose V1 has the command syntax docker-compose ( docker-compose is a separate command).

Docker Compose V2 has the command syntax docker compose ( compose is a subcommand of the docker command).

I think the bug is that the deploy button doesn’t try the docker compose command instead of docker-compose if the latter one doesn’t work.

Or I’ve done something wrong…?

Possibly related: I don’t see any containers running docker

Have you tried to restart your computer? Sounds like a PATH issue, logging off and logging in should be enough

Too many time today haha.

I’ve fixed this by enabling compatibility mode

in the docker settings.

So I’ll mark this as not-a-bug, although it’s perhaps time to upgrade to V2?