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

DockerのClientとServerのバージョン違いのエラーを直す

More than 3 years have passed since last update.

現象

$ docker version
Client version: 1.6.0
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 4749651
OS/Arch (client): darwin/amd64
FATA[0000] Error response from daemon: client and server don't have same version (client : 1.18, server: 1.16)

対応方法

$ boot2docker upgrade
docker is up to date (1.6.0), skipping upgrade...
boot2docker is up to date (v1.6.0), skipping upgrade...
Latest release for github.com/boot2docker/boot2docker is v1.6.0
Downloading boot2docker ISO image...
Success: downloaded https://github.com/boot2docker/boot2docker/releases/    download/v1.6.0/boot2docker.iso
    to /Users/hina/.boot2docker/boot2docker.iso
Waiting for VM and Docker daemon to start...
................ooo
Started.
Writing /Users/hina/.boot2docker/certs/boot2docker-vm/ca.pem
Writing /Users/hina/.boot2docker/certs/boot2docker-vm/cert.pem
Writing /Users/hina/.boot2docker/certs/boot2docker-vm/key.pem
Your environment variables are already set correctly.

確認

$ docker version
Client version: 1.6.0
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 4749651
OS/Arch (client): darwin/amd64
Server version: 1.6.0
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 4749651
OS/Arch (server): linux/amd64
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
ユーザーは見つかりませんでした