Docker Container Port Mapping Tutorial for beginners | Docker Port Expos...
Docker Container Port Mapping Tutorial for beginners | Docker Port Expose and Port Forwarding
Docker container port mapping and port forwarding. Docker EXPOSE attribute in Docker file is used to forward the container port to the host machine. Run the docker container on custom port. Using docker EXPOSE parameter to run the docker application on specific port.
How to run docker image on specific port? What is port mapping in docker container? Why docker port mapping is not working? Why containerized application is not accessible on custom port? What is docker -p option? How to create port mapping from host port to container port in docker? How to run containerized application on different port? How docker EXPOSE forwards the container port? How to forward container port using port mapping? How to do port forwarding in docker container?
Learn how to run docker image on the custom port using docker port mapping and EXPOSE parameter.
Docker image or containerization is the first step to take your application to cloud. The purpose of containerized application is to make sure your application is up and running always. Cloud platforms like AWS, AZURE or Google Cloud etc. provides container service to run docker image (containerized application).
** Topics Covered **
1. Understand Docker expose port parameter.
2. Understand Docker port mapping and -p option.
3. Running Docker Image on custom port.
4. Testing Docker image on custom port.
5. Clean-up and Summary
** Chapter Timestamps **
0:00 Welcome speech on Docker EXPOSE attribute and port mapping
0:48 Agenda
1:52 Introduction to EXPOSE parameter in Docker file
3:00 Building docker image with Expose parameter in docker file
3:55 Understanding port mapping in Docker run command
6:00 Docker port forwarding (mapping) not working
7:05 Fixing Docker container port mapping not exposed issue
9:49 Run Docker container on custom port using port forwarding
10:55 Testing containerized application on custom port (port forwarding and expose)
11:13 Summary of port forwarding & docker expose
12:40 Next video – Docker Image Tagging and -t option (ReTagging)
#docker #portexpose #portforwarding
** Previous Video Links **
Prepare Docker file, Container and Build Image:
• Docker Tutorial f...
Run Docker Image on Custom Port:
• Docker Container ...
Tag Docker Image and Push to Docker Hub Repository:
• Docker Tag and Pu...
Deploy Docker Image AWS Elastic Container Service:
• Deploy Springboot...
Spring boot project setup:
• Spring boot Proje...
** Playlist Link **
Docker file, container, docker image, dockerization, Containerization:
• Cloud & Container...
** GitHub Repository **
https://github.com/codeonedigest/java...
** Acronyms **
OOP – Object Oriented Programming Languages
COD – Code One Digest
** References **
https://www.tutorialspoint.com/docker...
*Channel Details*
CodeOneDigest is a youtube channel for the videos on programming language, cloud and docker container technology in English and Hindi languages.
Dosto, CodeOneDigest youtube channel pe aapko programming languages, container technology, cloud computing, software engineering se related videos milenge.
** Like, Share and Subscribe **
Subscribe: https://bit.ly/3NeWQ8U
Youtube:
/ @codeonedigest
Twitter: https://twitter.com/codeonedigest
Facebook: https://www.facebook.com/codeonedigest
Instagram: https://www.instagram.com/codeonedigest/
Linkedin: https://www.linkedin.com/in/codeone-d...
Reddit: https://www.reddit.com/user/codeonedi...
Github: https://github.com/codeonedigest
Website: https://codeonedigest.wordpress.com/
Tumblr: https://www.tumblr.com/codeonedigest
Pinterest: https://in.pinterest.com/codeonedigest/
Comments
Post a Comment