Docker - Error response from daemon: client is newer than server

后端 未结 6 1475
忘掉有多难
忘掉有多难 2020-12-13 18:48

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         


        
6条回答
  •  囚心锁ツ
    2020-12-13 19:07

    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.

提交回复
热议问题