2
3

More than 5 years have passed since last update.

docker toolboxでホストのディレクトリがマウントできない場合の対処方法

Posted at

windowsでdockerでのローカル環境構築をしているときに
C:\Users配下がうまくマウントできない現象に悩まされ
無事解決することができたのでメモとして残しておきます。

原因

https://github.com/boot2docker/boot2docker/releases
~/.docker/machine/cache/boot2docker.isoのVirtualBox Guest Additionsが
現在イントールしているVirtualBoxのバージョンと一致していなかった

解決方法1

https://github.com/boot2docker/boot2docker/releases
boot2docker.isoを現在インストールしているVirtualBoxのバージョンと一致するものをダウンロード
~/.docker/machine/cacheにコピー
docker-machine createを行う

解決方法2

最新のboot2docker.isoのVirtualBox Guest Additionsのバージョンに一致するVirtualBoxをインストールする
~/.docker/machine/cache/boot2docker.isoが存在する場合削除する
docker-machine createを行う

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