Docker Community Forums

Share and learn in the Docker community.

Almost there (on my mac running django runserver) but how to test

*** solution: docker-compose run -p 88:88 rockband /usr/local/bin/python runserver

Of course run: docker-machine ip dev, where ‘dev’ is the virtualbox name, to get the IP address. Then, using the ‘IP address’:88/<url_path> on your native host (mac) browser, it works nicely.

Got my server running (feels good) but now I’d like to test the django server using my browser. So far localhost:8000/bandmembers is not connecting while running my Chrome browser on my mac.

bash-3.2$ docker-compose run rockband /usr/local/bin/python runserver
Performing system checks…

System check identified no issues (0 silenced).
February 15, 2017 - 23:01:36
Django version 1.10.2, using settings 'rockband.settings’
Starting development server at
Quit the server with CONTROL-C.

This forum is not an official product support or issue reporting channel.