diff --git a/README.md b/README.md index cf5868f08a..5af82bb726 100644 --- a/README.md +++ b/README.md @@ -31,12 +31,11 @@ Local Machine Setup (Docker) ### Mac OSX ### -1. Follow the instructions at: http://docs.docker.com/installation/mac/ - 1. Use the Boot2Docker command-line utility. - 2. If you do command-line setup use: `boot2docker init eval “$(boot2docker shellinit)”` +1. Install Boot2Docker using instructions at: http://docs.docker.com/installation/mac/ + 1. Start Boot2Docker from the command line and run: `boot2docker init eval “$(boot2docker shellinit)”` 2. Get your Docker IP address with: `boot2docker ip` -3. Add a line to your /etc/hosts that goes: ` dockerhost` -4. Run: `boot2docker shellinit` and copy the export statements to your ~/.bash\_profile. +3. Use `sudo nano /etc/hosts` to add ` dockerhost` to your /etc/hosts file +4. Run: `boot2docker shellinit` and copy the export statements to your ~/.bash\_profile by running `sudo nano ~/.bash_profile`. Then run: `source ~/.bash_profile` 5. Run: `docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform` 6. When docker is done fetching the image, open http://dockerhost:8065/ in your browser.