Docker Compose update will depend on the system you are using.
On Windows and macos they are updated along with the Docker installer on these platforms, which is not when we update Docker from a repository (apt-get upgrade
).
For the Linux update, the Docker Compose on github has the most updated version. The release itself tells you what you need to run for this:
curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
This will install Docker Compose version 1.9.0 (note the url) and move the executable to another location already available in your PATH
. You may need super user permissions for this.
Pedro, try this tutorial if your server is Ubuntu: http://stackoverflow.com/questions/36934675/ubuntu-and-updating-docker
– Luiz Felipe Weber