DavesCodeMusings / container-central

A minimalist, not quite ready for prime time solution to managing Docker containers.
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

docker-compose path is different between apt-get install and pip3 install #10

Closed DavesCodeMusings closed 2 years ago

DavesCodeMusings commented 2 years ago

Stack deployment for containerized version of the app is broken.

"ENOENT when looking for /usr/local/bin/docker-compose

It seems that /usr/bin/docker-compose is the new path.

This can probably be addressed by changing the default location for docker-compose to the new path and having it configurable with config.json and the configuration page.

DavesCodeMusings commented 2 years ago

The problem is the Dockerfile installing from apt-get, which puts docker-compose in /usr/bin, whereas installing from pip3, or the curl method, puts it in /usr/local/bin.

DavesCodeMusings commented 2 years ago

Fix includes configurable docker-compose path, better error checking, and a newer version of docker-compose.