The upgrade docs imply it supports specifying the iso https://docs.docker.com/machine/, but that option only appears to work with create. Seems useful and consistent to allow a specific iso to be specified, e.g. to easily upgrade your docker server to an RC build.
$ docker-machine -v
docker-machine version 0.3.0 (HEAD)
$ docker-machine upgrade --virtualbox-boot2docker-url https://github.com/tianon/boot2docker/releases/download/v1.7.1-rc1/boot2docker.iso dev
Incorrect Usage.
Usage: docker-machine upgrade [arg...]
Upgrade a machine to the latest version of Docker
Description:
Argument(s) are one or more machine names.
FYI this workaround accomplished what I wanted to do:
$ docker-machine stop dev
$ cp -p ~/Downloads/boot2docker.iso ~/.docker/machine/machines/dev/
$ docker-machine start dev
$ docker version
Client version: 1.7.0
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 0baf609
OS/Arch (client): darwin/amd64
Server version: 1.7.1-rc1
The
upgrade
docs imply it supports specifying the iso https://docs.docker.com/machine/, but that option only appears to work withcreate
. Seems useful and consistent to allow a specific iso to be specified, e.g. to easily upgrade your docker server to an RC build.FYI this workaround accomplished what I wanted to do:
This came out of https://github.com/docker/docker/pull/14264#issuecomment-118207340.