Yay Docker for Mac is here! As of last night we all - not just Rory 'Bleeding Edge' MacDonald - can run Docker Natively on OSX without VB.
To update is simple... Install this DMG. If you want to preserve any db's export them first!
It will be super helpful an pull in your default box into your new set up (if you want it to).
Then unset the docker-machine
envs:
unset DOCKER_TLS_VERIFY
unset DOCKER_CERT_PATH
unset DOCKER_MACHINE_NAME
unset DOCKER_HOST
To double check everything is in order run:
docker --version
docker-compose --version
This should return
Docker version 1.12
docker-compose version 1.8.0
If these values aren't outputted you'll have to update you docker/docker-compose symlinks in /usr/local/bin
to point to /Applications/Docker.app/Contents/Resources/bin/
ln -s /usr/local/bin/docker /Applications/Docker.app/Contents/Resources/bin/docker
ln -s /usr/local/bin/docker-compose /Applications/Docker.app/Contents/Resources/bin/docker-compose
If you want to remove the Docker Toolbox follow the uninstallation guide here. Just skip step 4.
To access your dockers all normal commands work docker-compose up
etc, but rather than accessing it over an IP its now on localhost:<your_app_portz>
so update you hosts files... And your SequelPro connection.
- If you are a fish user that evaluates docker-machine env on start up remove this line.
- If you did keep docker toolbox vm's you can re-run the
eval (docker-machine env default)
and you can then manage them.
Install Kitematic to see all your containers in a nice GUI.
Click on the "Docker Whale Icon" in the toolbar > Click open Kinematic > Install.