Port configuration in docker container | -p option in starting docker container | port docker
In this video we will be learning about the -p flag or option that we use while running a container. The -p flag accepts a host-port and docker-port separated by colon. This is used to connect the host computer port to the docker container port. In this video we will be using the httpd server from the docker hub to show the port configuration
by CodeWithRajRanjan
linux web server
Thank you very much
can you teach me volume mapping
This explanation is so good, even a 5 year old can understand this
Thanks Raj! Great explanation
thanks raj
Thank you.
so can i have two different containers one using -p 8080:80 then the other -p 8181:80
Thank you very much . best explanation now I understand
How do you know that the apache server is running on port 80 inside the Docker container ?
Thanks, just what I needed. Simple and clear explanation. Cheers!
Why mine doesn't update?
Thank you for sharing this video.
awsm thank you
Cristal Clear! Thanks! So is basically connecting two machines via any of the available ports.
Thank you, well explained
Thankyou brother very useful
thank you
nice explanation bro
this is a great video, thx
Hi, your videos are very helpful to learn docker for me. I am looking for the video on docker-compose file syntax but I am not able to find it on your channel if it's there can you please share the link so I can watch the video and learn docker-compose syntax
I was stuck for 5 hours and after just 3 minutes of watching the video I figured it out! 🙂
Nicely explained.
Thanks.
I have image nginx port 80 not working how to fix?
thanks for this video – I can see the web page from another server. good video , simple , easy to understand
It really helped me..thank you
you are awesome
Great explanation!
First time i see nice and clear explanation for docker ports, THANK YOU!
Thank you for the clear explanation,
I have a quick question if you can help.
When port binding, I use localhost:8080 it won't work, though when I use IP of docker machine (obtained using #docker-machine ip default). it does work.
Can you please let me know, how do I solve this.?
Thank you
Thank you
Thank you so much for such a clear explanation
I need help. I’ve deployed searx on my synology nas using docker. It works fine for about an hour and then it says connection reset and stops working. Similar problem with jellyfin on docker, if I restart my synology it won’t load until I reboot the router.. for searx I’ve configured the local and docker port and set the firewall rule… what’s going wrong here??
Thanks a lot!
Can you make video for Windows too? I'm not able to access using local host .
The page is not responding at all.
once i have published on 8080:8080 where do i publish other github repositiries? everytime i mention 8080: i get already allocated when ever i change host port i get error provide server name
once i have published on 8080:8080 where do i publish other github repositiries? everytime i mention 8080: i get already allocated
Thanks Buddy👍👍👍👍
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
why i get this error when .i am going to start service in the container
Very Clear Thank You
Thank you! Good work!
Thanks man
good job
Thank you so muchh