Docker error: client and server don't have same version

前端 未结 14 1529
谎友^
谎友^ 2020-12-04 14:30

Since I just updated Docker to 1.1.0 I get:

Error response from daemon: client and server don\'t have same version (client : 1.13, server: 1.12)

<
14条回答
  •  爱一瞬间的悲伤
    2020-12-04 14:54

    This can happen if you have updated Docker, but the service has not been restarted. You will then try to connect to the Docker daemon with the updated client, while the daemon (that was already running before the update) is still running the older version.

    To fix this, restart the service:

    sysV init:

    service docker restart

    systemd:

    systemctl daemon-reload

    systemctl restart docker

提交回复
热议问题