docker-osx-dev icon indicating copy to clipboard operation
docker-osx-dev copied to clipboard

boot2docker is still being used. Switch to Docker toolbox?

Open ngduc opened this issue 9 years ago • 3 comments

I got a warning when running this:

test-docker-osx-dev $ docker-osx-dev

2015-11-04 10:39:02 [INFO] Using default sync paths: . /usr/local/bin/docker-osx-dev: line 958: greadlink: command not found 2015-11-04 10:39:02 [INFO] Complete list of paths to sync: 2015-11-04 10:39:02 [INFO] Using default exclude paths: .git 2015-11-04 10:39:02 [INFO] Complete list of paths to exclude: .git 2015-11-04 10:39:02 [INFO] Complete list of paths to include: 2015-11-04 10:39:02 [INFO] Starting docker-osx-dev file syncing 2015-11-04 10:39:02 [INFO] Initializing Boot2Docker VM

WARNING: The 'boot2docker' command line interface is officially deprecated.

Please switch to Docker Machine (https://docs.docker.com/machine/) ASAP.

Docker Toolbox (https://docker.com/toolbox) is the recommended install method.

Thanks.

ngduc avatar Nov 04 '15 18:11 ngduc

We do have experimental support for docker-machine, as explained in the README. At some point, we should make that the default, though that would be a backwards incompatible change. Perhaps we should detect the docker version and decide based off of that?

brikis98 avatar Nov 04 '15 19:11 brikis98

Docker Machine works perfectly fine with docker-osx-dev and we've been constantly upgrading the stables with Docker Toolbox. Current stable we run in production for more than a month now is 1.8.3. Integration tests against Docker Machine are also in progress.

As for your problem, please check against versions you're running and that the boot2docker and VirtualBox versions are actually up to date. I've seen this problem happening in the team as well, but it has always been environment setup mishap.

ain avatar Nov 04 '15 21:11 ain

Poking this issue, as this is somehow still the best method for working with Docker on OS X. Killing lines 745-747 had no ill effect on anything for me, and in fact helped by stopping the Docker for Mac beta and homebrew's equivalents from colliding.

745   # brew_install "boot2docker" "Boot2Docker" "type boot2docker" false
746   # brew_install "docker-compose" "Docker Compose" "type docker-compose" false
747   # brew_install "docker-machine" "Docker Machine" "type docker-machine" false

ryanmcgrath avatar Jun 01 '16 04:06 ryanmcgrath