How to run docker-compose on Mac OSX 10.14 (Mojave) without Docker Desktop
I run Mac OSX version 10.14 (Mojave) because some audio software I use doesn’t support newer versions. Unfortunately, that version of OSX is now deprecated by Docker Desktop leaving luddites in the dark.
It turns out you can still run a Docker daemon via colima.
All you need to do is:
$ brew install colima docker # install dependencies
$ colima start --runtime docker # start the docker runtime
$ docker ps # check that its running
$ curl -L https://github.com/docker/compose/releases/download/v2.11.2/docker-compose-darwin-x86_64 \
$ -o /usr/local/bin/docker-compose # download appropriate docker-compose binary from github
$ chmod +x /usr/local/bin/docker-compose # make it executable
$ docker-compose # check that this worked
Now you can use docker-compose on it’s own!