Re:Zero to Peanut Butter Docker Time in 78 Seconds
by KenCochrane on Monday November 11, 2013 @02:25PM
(#6713392)
When you start the container you can specify which port you want using the -p command.
This command would start it on port 8000, but you could change to any other port you want, assuming it is free.
$ docker run -d -p :8000 kencochrane/django-docker
I'm also pretty sure that when your host is restarted the container will start back up when docker does, if the container was running before the host was restarted.
This command would start it on port 8000, but you could change to any other port you want, assuming it is free.
$ docker run -d -p :8000 kencochrane/django-docker
I'm also pretty sure that when your host is restarted the container will start back up when docker does, if the container was running before the host was restarted.