Brew-ing docker in Mac


  • brew install docker
  • brew install docker-machine
  • brew services start docker-machine
  • brew install virtualbox # Requires SystemPreferences intervention
  • docker-machine createdefault–virtualbox-cpu-count 6 –virtualbox-memory 8192
  • # Create “docker” group and put me in it
  • sudo dseditgroup -o create docker
  • sudo dseditgroup -o edit -a <your_user_name> -t user docker # Run this to set environment before running docker
  • eval $(docker-machine env default)


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.