LoginSignup
3
3

More than 5 years have passed since last update.

docker-machine upgradeするときの注意点 vagrant と busybox を使用している場合

Posted at

概要

docker-machineを使ってvagrant busyboxで作った環境に対して

docker-machine upgrade busyboxのマシン

を、実行すると、home以下なども更新されて、ファイルが無くなる。
homeいがいも/usr/loca/binの下もなかった。

対策

必要なものはバックアップをとる

なぜこのようなことになったか。

docker 1.9.0 の環境で

docker-machine help

を実行した時に、以下のように書いてあったので、dockerだけバージョンがあがあるのかと思った。

  upgrade       Upgrade a machine to the latest version of Docker

参考情報

3
3
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
3
3