# port forwarding -p (publish) # maps port from container to host # access port 80 on server on containers' port 80 docker run -p 80:80 docker/image # into OS - use console as if in OS environment -it
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter