Django devel server in docker container

I am trying to run the django 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 run the devel server and connect to it at 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?