8
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

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

Posted at

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
8
6
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
8
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?