Dockerホストマシン作成時のエラー「VirtualBox is configured with multiple host-only adapters with the same IP」

  • 7
    いいね
  • 0
    コメント
この記事は最終更新日から1年以上が経過しています。

Dockerホストマシン作成時にエラー

% docker-machine create --driver virtualbox docker-m
Running pre-create checks...
Error creating machine: Error with pre-create check: VirtualBox is configured with multiple host-only adapters with the same IP "192.168.33.1". Please remove one.

VirtualBoxを起動

  • 環境設定->ネットワーク->ホストオンリーネットワークタブ
  • 192.168.33.1のものを削除

スクリーンショット 2016-02-07 11.51.18.png

スクリーンショット 2016-02-07 11.47.52.png

Dockerホストマシン作成成功。

% docker-machine create --driver virtualbox docker-m
Running pre-create checks...
Creating machine...
(docker-m) Copying /Users/aaa/.docker/machine/cache/boot2docker.iso to /Users/aaa/.docker/machine/machines/docker-m/boot2docker.iso...
(docker-m) Creating VirtualBox VM...
(docker-m) Creating SSH key...
(docker-m) Starting the VM...
(docker-m) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Machine is running, waiting for SSH to be available...
Detecting operating system of created instance...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect Docker to this machine, run: docker-machine env docker-m