moby: Backwards incompatibility between Client 1.19 and Server 1.18
Running a Docker 1.7 client to start a machine created using Docker 1.6 and got the error message:
client and server don't have same version (client : 1.19, server: 1.18)
The client should maintain backwards compatibility otherwise should explicitly state that it will break it.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 17 (4 by maintainers)
Solution:
Run the command below export COMPOSE_API_VERSION=1.18
Sounds pretty lame!
Is there a migration policy defined on how to update client and servers to migrate to new versions in that case?
If
docker-machine upgrade <machine-name>
doesn’t work, you can downgrade the docker version by running the commandexport DOCKER_API_VERSION=<lower-version-number>