Running a Docker container and exposing its ports with docker run

Running a Docker container and exposing its ports with docker run

# docker run -d -p <host port>:<Container port> --name frontend-lc rrskris/frontend-lc:v0.1

To run the docker container interactively use the below command:

docker run -it -p <Host port>:<Container port> --name frontend-lc rrskris/frontend-lc:v0.1

 


		

Leave a Comment