Howto upgrade Docker-Compose on OMV5
This is the path of Docker-Compose on my OMV5 installation:
# whereis docker-compose
docker-compose: /usr/bin/docker-compose /usr/share/man/man1/docker-compose.1.gz
Here is how to upgrade Docker-Compose to v1.25.4 (latest as of 11. FEB 2020)
Fire up a terminal - type these commands, one line at a time.
Code
curl -L https://github.com/docker/compose/releases/download/1.25.4/docker-compose-`uname -s`-`uname -m` -o /usr/bin/docker-compose
chmod +x /usr/bin/docker-compose
That's it!
Result:
# docker-compose -v
docker-compose version 1.25.4, build 8d51620a
I wrote this because maybe someone need to know how and where docker-compose is installed, as they cannot use the default docker-compose path, which is stated in the doc.