- Place script into
~/bin
- Put
~/bin
to your localPATH
environment if necessary - Set permissions on launch:
chmod u+x docker-compose-update.sh
- Install dependencies:
- wget
- curl
- jq
# will be downloaded last version released on github
docker-compose-update.sh
docker system info -f '{{ json .ClientInfo.Plugins }}' | jq '.[] | select(.Name=="compose")'