Help us understand the problem. What is going on with this article?

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

More than 3 years have passed since last update.

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
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away