Help us understand the problem. What is going on with this article?

Docker で client is newer than server と怒られたら docker-machine upgrade する

More than 3 years have passed since last update.
[hoge@localhost ~]$ docker ps
Error response from daemon: client is newer than server (client API version: 1.23, server API version: 1.22)

Docker のメジャーアプデ時はありそうな予感。
これが出たら Docker ホストのアップグレードが必要です。

docker-machine upgrade [MACHINE_NAME...] を実行すれば OK

[hoge@localhost ~]$ docker-machine upgrade default
Waiting for SSH to be available...
Detecting the provisioner...
Upgrading docker...
Stopping machine to do the upgrade...
Upgrading machine "default"...
Default Boot2Docker ISO is out-of-date, downloading the latest release...
Latest release for github.com/boot2docker/boot2docker is v1.11.0
Downloading /Users/hoge/.docker/machine/cache/boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v1.11.0/boot2docker.iso...
0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
Copying /Users/hoge/.docker/machine/cache/boot2docker.iso to /Users/hoge/.docker/machine/machines/default/boot2docker.iso...
Starting machine back up...
(default) Check network to re-create if needed...
(default) Waiting for an IP...
Restarting docker...

完了っぽい

[hoge@localhost ~] $ eval $(docker-machine env default)
[hoge@localhost ~] $ docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                      PORTS               NAMES

よすよす。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした