Also posted here: http://18pct.com/docker-1.10.0rc3-with-compose,-machine-and-xhyve-on-osx/
- Docker El Capitan Free
- Docker Mac Os El Capitan
- Docker El Capitan Download
- Install Docker El Capitan
- Docker El Capitan Update
- Docker Mac El Capitan
The steps below will uninstall docker, docker-machine and docker-compose under OSX using virtualbox (via either brew or toolbox, or both), and replace them with the latest RC versions of docker, compose and machine using the Xhyve driver for better performance under OSX using Hypervisor.framework.
Installing Docker on Mac is pretty straightforward. It has a Graphical installer.dmg file. The installation provides Docker Engine, Docker CLI client, Docker Compose, Docker Machine, and Kitematic. Pre-requisites for installing Docker on Mac. Docker requires OS X El Capitan 10.11 or newer macOS release running on a 2010 or newer Mac. Docker fails to start on Mac (El Capitan) #899. Snoopdave opened this issue on Nov 5, 2016 2 comments. Lifecycle/locked osx/10.11.x status/0-triage version/1.12.1. Djs55 added osx/10.11.x status/0-triage version/1.12.1 labels on Nov 7, 2016. Djs55 closed this on Nov 8, 2016.
If you don't have homebrew already, install it
Docker El Capitan Free
make sure old docker versions are removed
Remove toolbox via its uninstaller if you have it:
...as well as remove any versions installed via brew
install docker OSX client v1.10.0-rc3
install machine v0.6.0-rc3
install compose v1.6.0-rc2 (rc3 not out as of writing)
install xhyve
brew install xhyve
install docker xhyve driver v0.2.2
create default docker machine using docker v1.10.0-rc3 boot2docker iso
Remove old default machine if it exists:
Install the new default machine using the rc3 boot2docker iso:
start docker-machine
If you used the machine name 'default', there's no need to specify the default machine in 1.6.
docker-machine start
get env
eval $(docker-machine env)
Docker Mac Os El Capitan
test!
docker run hello-world
Question or issue on macOS:
Docker newbie here. I’m using a Mac Book Pro with 128Gb disk. Is there any way to have the docker images be stored in an external hard drive rather than on the mac’s main drive? I don’t have that much free space, and can’t afford to remove any installed software. Ideally I’d like to have Docker fetch the images from an external drive. Can this be done using a symlink?
Docker El Capitan Download
Thanks
How to solve this problem?
Solution no. 1:
Install Docker El Capitan
Eventually figured out that docker can use a symlink. In a Mac OS setup the file that I want to place in an external drive is located at
~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/
and is named
Docker.qcow2
Just move the file to an external disk drive (for instance) and create a symlink pointing to the new location
Docker El Capitan Update
Solution no. 2:
I was able to get this working and documented it here. It is basically a symlink to the folders mentioned.