Mattermost-preview not serving on OSX port 8065

Followed the one-line Docker install for OSX:

docker run --name mattermost-preview -d --publish 8065:8065 mattermost/mattermost-preview

Which installed fine. Now docker ps reports:

CONTAINER ID        IMAGE                           COMMAND                  CREATED             STATUS              PORTS                              NAMES
e2bdbdedfda7        mattermost/mattermost-preview   "/bin/sh -c ./docker-"   5 minutes ago       Up 4 minutes        3306/tcp, 0.0.0.0:8065->8065/tcp   mattermost-preview

But nothing serves in browser to 127.0.0.1:8065 or 0.0.0.0:8065 or localhost:8065. Am I missing something?

Hmm now it is working. I guess maybe Docker needed time to work, or maybe it needed a system reboot.

Did you try accessing the site via http://localhost:8065/?

You can also find additional documentation here, which might be helpful: https://docs.mattermost.com/install/docker-local-machine.html

127.0.0.1:8065 or 0.0.0.0:8065 or localhost:8065 is not accessible for me either - Mac OS 10.12.3 Beta (16D12b). The docker image crashes when I try to connect via url.

Got it working! I am running Docker for Mac and had to update /etc/hosts with :

127.0.0.1 dockerhost

Instructions for that are here : https://docs.mattermost.com/developer/developer-setup.html#mac-os-x

Thanks for sharing @jamesyoung!

@geotheory have you tried updating /etc/hosts yet? If not, that might be the cause, sorry for not linking to the Developer Setup doc in my first post