mmmaxwwwell / space-engineers-dedicated-docker-linux

Space Engineers Dedicated Server running in Docker for Linux
MIT License
175 stars 41 forks source link

Error "sudo: docker-compose: command not found" #44

Closed Speijker closed 2 years ago

Speijker commented 2 years ago

Trying to run the start script, it returns twice the line sudo: docker-compose: command not found

IMG_20220516_105337

docker compose installation checked with docker compose version

Speijker commented 2 years ago

"fixed" by removing '-' from line in start script

Same issue applies to the stop script

mmmaxwwwell commented 2 years ago

You're missing the docker-compose executable.

https://stackoverflow.com/questions/66514436/difference-between-docker-compose-and-docker-compose

Speijker commented 2 years ago

You're missing the docker-compose executable.

https://stackoverflow.com/questions/66514436/difference-between-docker-compose-and-docker-compose

And so I did. Docker documentation for linux gave two options: default is only the plugin, but apparently I needed the standalone binary. (https://docs.docker.com/compose/install/)

ghost commented 1 year ago

docker-compose is being deprecated soon. Should probably consider converting commands to the docker compose (docker-compose-plugin)