How to update docker-compose version on windows 10
Solution 1
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'
Solution 2
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
Solution 3
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.
rajan.sngh
Updated on July 09, 2022Comments
-
rajan.sngh almost 2 years
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.
-
rajan.sngh almost 6 yearsthank you, you are right, I got confused between compose version and docker-compose file version. I am facing an issue and according to
https://github.com/docker/compose/issues/5103
updating the version will fixed my error. -
rajan.sngh almost 6 yearsThank you, as @mulg0r has mentioned below, I want to know , how can i change my docker-compose file version.