Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Docker Machine on Mac OS X


  • 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
  • docker-machine stop dev
  • docker-machine start dev
  • docker-machine <command> --help

VMWare Fusion

  • docker-machine rm dev
  • docker-machine create --driver=vmwarefusion dev
  • docker-machine create --driver vmwarefusion --vmwarefusion-cpu-count 2 --vmwarefusion-disk-size 80000 --vmwarefusion-memory-size 4096 default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.