After creating a new machine with Docker Machine, I\'m getting the following error:
$ docker ps
Error response from daemon: client is newer than ser
If someone happens to get this error, but is not using docker-machine
, there is another way to resolve the issue by specifying an older API version in an environment variable on the client side:
export DOCKER_API_VERSION=
for example:
export DOCKER_API_VERSION=1.19
and retrying the docker
command.
Reference.