Docker Cheat Sheet

added by DotNetKicks
10/6/2016 6:39:26 PM

2 Kicks, 561 Views

'-d' means your container runs in detached mode, in the background. The '-p' specifies port mapping. The first port is the port used on the host, and second is the port used on the container. In the example above, your application would be listening on port 8000 in the containers, and external processes would make a request on port 80.


0 comments