Skip to content

Instantly share code, notes, and snippets.

View jponc's full-sized avatar
🏖️

Julian Ponce jponc

🏖️
  • Serenade
  • Sydney, Australia
View GitHub Profile
@jponc
jponc / docker-machine-mac-osx.md
Created April 30, 2019 06:02 — forked from Integralist/docker-machine-mac-osx.md
Docker Machine on Mac OS X

VirtualBox

  • https://www.docker.com/toolbox
  • docker-machine create --driver virtualbox dev
  • docker-machine env dev (add values to ~/.zshrc)
    • e.g. echo eval "$(docker-machine env dev)" >> ~/.zshrc
  • docker-machine ls
  • docker ps (might need to re-source .zshrc file; e.g. . ~/.zshrc)
  • docker run hello-world
  • docker-machine ip dev