Last active
September 16, 2015 17:25
-
-
Save ianblenke/d120362e0381add6b48e to your computer and use it in GitHub Desktop.
Steps needed to run docker-machine with vmwarefusion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BUCKET=$(whoami)-docker-machine | |
# Build a boot2docker.iso for vmware (optional) | |
# git clone https://github.com/ianblenke/boot2docker | |
# cd boot2docker | |
# docker build -t boot2docker . && docker run --rm boot2docker > boot2docker.iso | |
# aws s3 cp boot2docker.iso s3://$BUCKET/boot2docker.iso --acl 'public-read' | |
# URL=https://s3.amazonaws.com/$BUCKET/boot2docker.iso | |
# Alternatively I have a pre-built boot2docker v1.4.1 iso for VMWare, use this URL: | |
URL=https://github.com/ianblenke/boot2docker/raw/boot2docker-v1.4.1-iso/boot2docker.iso | |
sudo wget -O /usr/local/bin/docker-machine https://github.com/docker/machine/releases/download/v0.1.0-rc1/docker-machine_darwin_amd64 | |
sudo chmod 755 /usr/local/bin/docker-machine | |
docker-machine create -d vmwarefusion \ | |
--vmwarefusion-boot2docker-url "$URL" \ | |
--vmwarefusion-disk-size 40000 \ | |
--vmwarefusion-memory-size 4096 \ | |
dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment