@@ -187,6 +187,40 @@ You can override the configurations using matching command-line flags. Type
187187` boot2docker -h ` for more information. The configuration file options are
188188the same as the command-line flags with long names.
189189
190+ ## Upgrade
191+
192+ You can use boot2docker-cli to upgrade:
193+
194+ 1 . The ISO you are using in the VM (and consequently the Docker daemon version)
195+ 2 . The Docker client binary on your host system
196+ 3 . The boot2docker-cli binary itself
197+
198+ To do so, run the ` boot2docker upgrade ` command.
199+
200+ ```
201+ $ boot2docker upgrade
202+ Backing up existing docker binary...
203+ Downloading new docker client binary...
204+ Success: downloaded https://get.docker.com/builds/Darwin/x86_64/docker-latest
205+ to /usr/local/bin/docker
206+ The old version is backed up to ~/.boot2docker.
207+ Backing up existing boot2docker binary...
208+ Downloading new boot2docker client binary...
209+ Success: downloaded https://github.com/boot2docker/boot2docker-cli/releases/download/v1.4.0/boot2docker-v1.4.0-darwin-amd64
210+ to /usr/local/bin/boot2docker
211+ The old version is backed up to ~/.boot2docker.
212+ Latest release for boot2docker/boot2docker is v1.4.0
213+ Downloading boot2docker ISO image...
214+ Success: downloaded https://github.com/boot2docker/boot2docker/releases/download/v1.4.0/boot2docker.iso
215+ to /Users/youruser/.boot2docker/boot2docker.iso
216+ Waiting for VM and Docker daemon to start...
217+ .................ooo
218+ Started.
219+ ```
220+
221+ This will back up your current ` docker ` and ` boot2docker ` binaries to
222+ ` ~/.boot2docker ` and download the latest ISO, ` docker ` binary and ` boot2docker `
223+ binary in place of the old versions.
190224
191225
192226## Contribution
0 commit comments