表題の通り。先日もほとんど同じようなエントリを書いた気がするが気にしない。
■ 環境
- Mac OSX El Capitan
- Docker 1.10.0 → 1.10.1
- Docker Machine 0.6.0
■ 1.10.1
dockerの”1.10.1“がリリースされているのに気がついたので`upgrade`を実行。
$ brew update
==> Updated Formulae
docker
:
$
$ brew upgrade docker
==> Upgrading docker
==> Downloading https://homebrew.bintray.com/bottles/docker-1.10.1.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring docker-1.10.1.el_capitan.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completion has been installed to:
/usr/local/share/zsh/site-functions
==> Summary
/usr/local/Cellar/docker/1.10.1: 10 files, 10.4M
$
確認。
$ docker info
Containers: 2
Running: 0
Paused: 0
Stopped: 2
Images: 12
Server Version: 1.10.0
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 56
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
Volume: local
Network: host bridge null
Kernel Version: 4.1.17-boot2docker
Operating System: Boot2Docker 1.10.0 (TCL 6.4.1); master : b09ed60 - Thu Feb 4 20:16:08 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 996.2 MiB
Name: local
ID: THEI:PBX5:RVZ2:ROXQ:MRXK:JNMK:RISP:7RQ2:LLUR:CNS4:HSYR:WFRJ
Debug mode (server): true
File Descriptors: 10
Goroutines: 22
System Time: 2016-02-15T23:55:50.668286227Z
EventsListeners: 0
Init SHA1:
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker
Labels:
provider=virtualbox
$
$ docker version
Client:
Version: 1.10.1
API version: 1.22
Go version: go1.5.3
Git commit: 9e83765
Built: Fri Feb 12 22:11:40 UTC 2016
OS/Arch: darwin/amd64
Server:
Version: 1.10.0
API version: 1.22
Go version: go1.5.3
Git commit: 590d5108
Built: Thu Feb 4 19:55:25 2016
OS/Arch: linux/amd64
$
サーバ側は”1.10.0“のままなのでこちらも`upgrade`する。`docker-machine`自体は新規にリリースされているわけではないので、VMだけである。
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
local * virtualbox Running tcp://192.168.99.100:2376 v1.10.0
$
$ docker-machine upgrade local
Waiting for SSH to be available...
Detecting the provisioner...
Upgrading docker...
Stopping machine to do the upgrade...
Upgrading machine "local"...
Default Boot2Docker ISO is out-of-date, downloading the latest release...
Latest release for github.com/boot2docker/boot2docker is v1.10.1
Downloading /Users/withsin/.docker/machine/cache/boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v1.10.1/boot2docker.iso...
0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
Copying /Users/withsin/.docker/machine/cache/boot2docker.iso to /Users/withsin/.docker/machine/machines/local/boot2docker.iso...
Starting machine back up...
(local) Check network to re-create if needed...
(local) Waiting for an IP...
Restarting docker...
$
再度確認。
$ docker info
Containers: 2
Running: 0
Paused: 0
Stopped: 2
Images: 12
Server Version: 1.10.1
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 56
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
Volume: local
Network: bridge null host
Kernel Version: 4.1.17-boot2docker
Operating System: Boot2Docker 1.10.1 (TCL 6.4.1); master : b03e158 - Thu Feb 11 22:34:01 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 996.2 MiB
Name: local
ID: THEI:PBX5:RVZ2:ROXQ:MRXK:JNMK:RISP:7RQ2:LLUR:CNS4:HSYR:WFRJ
Debug mode (server): true
File Descriptors: 11
Goroutines: 21
System Time: 2016-02-16T00:16:29.530837596Z
EventsListeners: 0
Init SHA1:
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker
Labels:
provider=virtualbox
$
$ docker version
Client:
Version: 1.10.1
API version: 1.22
Go version: go1.5.3
Git commit: 9e83765
Built: Fri Feb 12 22:11:40 UTC 2016
OS/Arch: darwin/amd64
Server:
Version: 1.10.1
API version: 1.22
Go version: go1.5.3
Git commit: 9e83765
Built: Thu Feb 11 20:39:58 2016
OS/Arch: linux/amd64
$
以上。