Tuesday, June 28, 2016

running devel server in docker container

I am trying to run the devel server in a docker container. On the
physical machine I don't have port 8000 available and I usually use
8006 for the devel server. Outside of the docker container I can
connect to 8006. Inside the container I tried both:

manage.py runserver 0.0.0.0:8006

and just manage.py runserver when starting the container with -p 8006:8000

But in both cases I cannot connect to the devel server at 8006. Anyone
know how to do this?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACwCsY6P7LNutqRNu9FCA-VP8Y6OtDugWGXOwAef92knn9xFnA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment