9951 explained code solutions for 126 technologies

dockerHow to publish port to docker container

docker run -it -p 81:80 nginxctrl + c
docker run

launch docker container


connect to container CLI right after launch


publish specified ports


port of local machine (docker host)


port of container to forward to specified local machine port


name of the image to launch container from