my:Docker version 1.6.2, build 7c8fca2 my:docker-compose version 1.11.2, build dfed245 erreur: ERROR: client and server don't have same version (client : 1.21, server: 1.18)
How i can solve this problem Thank you
my:Docker version 1.6.2, build 7c8fca2 my:docker-compose version 1.11.2, build dfed245 erreur: ERROR: client and server don't have same version (client : 1.21, server: 1.18)
How i can solve this problem Thank you
If your server version (1.6.2) is correct, that's from back in May 2015 and extremely old. It predates docker network
and docker volume
, build ARGs, privileged containers, DNS discovery, and many other features you may expect. You should really upgrade this to a current release.
With docker-compose, you can use the COMPOSE_API_VERSION
variable to tell compose which server API version to use, but as mentioned in the documentation, this is not supported and some errors are expected, particularly when you have a significant version mismatch like you do.