0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

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

Last updated at Posted at 2015-11-13

現象

$ 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
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?