Whenever I am trying to run docker-compose up
it shows the below error related to a version mismatch of client and server.
client and server don't have same version (client : 1.19, server: 1.18)
Below are the installed versions of docker-compose and docker itself. Neither docker, nor docker-compose have 1.19 and 1.18 versions. So actually this message is referring to which client and server?
[root@node1 composetest]# docker -v
Docker version 1.6.2, build 7c8fca2/1.6.2
[root@node1 composetest]# docker-compose up
client and server don't have same version (client : 1.19, server: 1.18)
Further how to fix this issue. I am using centos 6 and have upgraded the docker to latest version.I had installed docker-compose using pip.
As of docker-compose 1.4 you can now set the client API version, so you don't have to downgrade the client, or upgrade the server.
Set the environment variable COMPOSE_API_VERSION=auto
to have it auto-detect the client version, or COMPOSE_API_VERSION=1.18
to set the exact version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With