Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update docker-compose version on windows 10

I have docker and docker toolbox installed on Win10 machine.

docker -v Docker version 18.06.0-ce, build 0ffa825

docker-compose -v docker-compose version 1.22.0, build f46880fe

My docker version is up-to-date but the composer is not.

Any idea how can I update the composer version.

like image 951
rajan.sngh Avatar asked Jul 26 '18 09:07

rajan.sngh


3 Answers

According to the Docker compose releases the latest version is 1.22.0 which is the one you have installed.

You have installed the latest docker compose, it was released 8 days ago.

Update:

In order to change your Docker compose file version just replace the line version, by today 26th July 2018 to set the latest docker compose file version just replace it by:

version: '3.7'
like image 55
juanlumn Avatar answered Nov 09 '22 22:11

juanlumn


Today, 26th July 2018, docker-compose latest version is 1.22. I don't know why do you say that your docker-compose version is not up to date. Maybe you had a confusion with docker-compose file version

https://github.com/docker/compose/releases

like image 38
Alejandro Galera Avatar answered Nov 09 '22 21:11

Alejandro Galera


You need upgrade your Docker Desktop version.

Check, download and install lasted release version (Ex: Stable Releases of 2019):

https://docs.docker.com/docker-for-windows/release-notes/

Each Docker Desktop release version has a specific version of Docker and docker-compose.

like image 27
Joe Avatar answered Nov 09 '22 21:11

Joe