Port configuration in docker container | -p option in starting docker container | port docker

  Рет қаралды 83,972

CodeWithRajRanjan

CodeWithRajRanjan

Күн бұрын

Пікірлер: 79
@daliaaltaie270
@daliaaltaie270 3 жыл бұрын
First time i see nice and clear explanation for docker ports, THANK YOU!
@rowenarrow
@rowenarrow 9 ай бұрын
Thank you for the clear and awesome breakdown regarding ports.
@marcinmandziej9251
@marcinmandziej9251 3 жыл бұрын
Thanks for the great vid, I finally understand idea of port config :) Great explained!
@brirorie
@brirorie Жыл бұрын
This Was Very Insightful & Easy To Understand. Thank You For This Video Explanation!
@sachinraj5416
@sachinraj5416 2 жыл бұрын
Cristal Clear! Thanks! So is basically connecting two machines via any of the available ports.
@justaninfiredperson
@justaninfiredperson 4 жыл бұрын
Thank you so much for the simplest explanation... I got it quickly
@dicksonlukose2137
@dicksonlukose2137 4 жыл бұрын
Very clear explanation. Most appreciated.
@nyquist_control
@nyquist_control 8 ай бұрын
Very nice, the diagrams were very useful. Thank you
@elfarsante
@elfarsante 4 жыл бұрын
Cristal clear! great explanation, thanks man!
@fermatensieg
@fermatensieg 2 жыл бұрын
thanks for this video - I can see the web page from another server. good video , simple , easy to understand
@jonathankewe9415
@jonathankewe9415 Жыл бұрын
Thanks, just what I needed. Simple and clear explanation. Cheers!
@SaurabhSingh-hn9fc
@SaurabhSingh-hn9fc 4 жыл бұрын
Kudos...!!! to you Man, Very crisp & clear explanation
@theredd1703
@theredd1703 Жыл бұрын
Thanks Raj! Great explanation
@20-abdulrehman3
@20-abdulrehman3 Жыл бұрын
Thank you very much . best explanation now I understand
@kurubavishnuvardhan9978
@kurubavishnuvardhan9978 2 жыл бұрын
nice explanation bro
@931112
@931112 4 жыл бұрын
Short and clear explanation, good work!
@kankanalamanojbalakrishna2196
@kankanalamanojbalakrishna2196 2 жыл бұрын
Thankyou brother very useful
@shoaibsheikh6781
@shoaibsheikh6781 7 ай бұрын
great explaination
@ashique12009
@ashique12009 2 жыл бұрын
Nicely explained. Thanks.
@Balint92
@Balint92 3 жыл бұрын
Thank you! Good work!
@cybersecurity3
@cybersecurity3 2 жыл бұрын
Thank you for sharing this video.
@demetriusburgess8201
@demetriusburgess8201 2 жыл бұрын
Great explanation!
@Lunolux
@Lunolux 2 жыл бұрын
this is a great video, thx
@sukriti2144
@sukriti2144 2 жыл бұрын
It really helped me..thank you
@husseinrefaat2530
@husseinrefaat2530 3 жыл бұрын
Very clear explanation. thanks so much
@codetips2015
@codetips2015 3 жыл бұрын
Thank you so much for such a clear explanation
@DevOpsPulse
@DevOpsPulse 2 жыл бұрын
Thank you, well explained
@babarkhan3811
@babarkhan3811 3 жыл бұрын
Thanks Buddy👍👍👍👍
@Subhra_Bose
@Subhra_Bose 4 жыл бұрын
Simple..best👍👍
@ahsansiddiqui4263
@ahsansiddiqui4263 3 жыл бұрын
once i have published on 8080:8080 where do i publish other github repositiries? everytime i mention 8080: i get already allocated
@ahsansiddiqui4263
@ahsansiddiqui4263 3 жыл бұрын
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
@AP-sb3vl
@AP-sb3vl 3 жыл бұрын
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
@suggu_sandeep_passion
@suggu_sandeep_passion 3 жыл бұрын
Very Clear Thank You
@zmigyyy
@zmigyyy 4 жыл бұрын
Thank you! Very good explanation! :)
@youtube.user.1234
@youtube.user.1234 3 жыл бұрын
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??
@dreiistein
@dreiistein Жыл бұрын
Thank you very much
@nani5987
@nani5987 2 жыл бұрын
you are awesome
@ilmupadiyoutubechanel
@ilmupadiyoutubechanel 9 ай бұрын
Thanks🎉
@mohammd100
@mohammd100 3 жыл бұрын
good job
@UnforgetablePavan07
@UnforgetablePavan07 3 жыл бұрын
Thanks a lot!
@maninderjeetbook
@maninderjeetbook 3 жыл бұрын
Can a container expose 2 ports, in that case will the port configuration be like -p 2000:1000 -p 2000:10002 or host port has to be unique ?, Thanks for the video, it was very useful.
@codetips2015
@codetips2015 3 жыл бұрын
yes the host port has to be unique, so the port will be like -p 1234:1000, -p 2000:1000
@ajay-lu5gh
@ajay-lu5gh 2 жыл бұрын
awsm thank you
@hceylan06
@hceylan06 Жыл бұрын
Thank you.
@kcwitch1
@kcwitch1 Жыл бұрын
thanks raj
@deepakranjanmishra5641
@deepakranjanmishra5641 7 ай бұрын
Please explain where from these two ports , 8080 and 9080 came from ?
@codewithrajranjan
@codewithrajranjan 7 ай бұрын
The range of ports on any operating system can be from 1 to 65535. This means that you can run your application on any port within this range. For this video, we have chosen the 8080 and 9080 ports because they are most commonly used. You can choose whatever number you want and it will run fine for you.
@deepakranjanmishra5641
@deepakranjanmishra5641 7 ай бұрын
@@codewithrajranjan Can you please explain what is this host port and it's use case
@codewithrajranjan
@codewithrajranjan 7 ай бұрын
Host port is just a normal port. Your application always runs on a port
@FadedDreamzTv
@FadedDreamzTv Жыл бұрын
so can i have two different containers one using -p 8080:80 then the other -p 8181:80
@codewithrajranjan
@codewithrajranjan Жыл бұрын
Yes you are correct
@gagangayari5981
@gagangayari5981 Жыл бұрын
How do you know that the apache server is running on port 80 inside the Docker container ?
@codewithrajranjan
@codewithrajranjan 11 ай бұрын
The default port for any web server is port 80. for example when you hit www.google.com then here also the port is 80. you can read more about this in Apache web server documentation
@fathimhiri5926
@fathimhiri5926 4 жыл бұрын
i want to know how to find the default port for any container (without epode)
@avinashnew
@avinashnew 3 жыл бұрын
Thank you
@LartiZen
@LartiZen 9 ай бұрын
Interesting, and the inverse ? I have an app in docker and I want that app uses connexion to My Sql Server (mariadb) that is on my local machine (localhost), so outside docker ? remotely :-)
@tonina4807
@tonina4807 3 жыл бұрын
Thank you so muchh
@Marwaha_489
@Marwaha_489 11 ай бұрын
How do you know port 80 is exposed already in the container?
@codewithrajranjan
@codewithrajranjan 11 ай бұрын
The default port on which webserver run is port 80 For example when you hit www.google.com then it means that the google server is running at port 80 You can read more about it on apache web server documentation about the default ports
@Marwaha_489
@Marwaha_489 11 ай бұрын
Thank you.🙏
@maskawathlatifturzo3731
@maskawathlatifturzo3731 3 жыл бұрын
Thanks man
@S-Note
@S-Note 2 жыл бұрын
I have image nginx port 80 not working how to fix?
@na1du
@na1du 4 жыл бұрын
If i am running network as host. Is there a easy way to change docker image port via environment so that there are no conflicts?
@kumarcok
@kumarcok 4 жыл бұрын
I am newbie in docker , In some document I have seen commands like '-p' flag is used two times in a single command , Would you please explain that ( for example : %docker run -d -v jenkins_home:/var/jenkins_home -p 8080:8080 -p 50000:50000 jenkins/jenkins:lts )
@codewithrajranjan
@codewithrajranjan 4 жыл бұрын
It means you are exposing two ports
@nellieetnini77
@nellieetnini77 Жыл бұрын
can you teach me volume mapping
@hephaestusyt2940
@hephaestusyt2940 4 жыл бұрын
When a docker container is stop and you forgot to open the port, can you use the -p flag when starting the container?
@saddudehours
@saddudehours 4 жыл бұрын
no, you have to delete the container and run it again with the flag set.
@hephaestusyt2940
@hephaestusyt2940 3 жыл бұрын
@@saddudehours got it, thanks man.
@BudgetBackpackingwithHrishi
@BudgetBackpackingwithHrishi 3 жыл бұрын
Can you make video for Windows too? I'm not able to access using local host . The page is not responding at all.
@kumardchowdary2291
@kumardchowdary2291 3 жыл бұрын
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
@jatindersinghaujla
@jatindersinghaujla 2 жыл бұрын
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
@Astuslinux
@Astuslinux 2 жыл бұрын
Why mine doesn't update?
@simranbanwait
@simranbanwait Жыл бұрын
This explanation is so good, even a 5 year old can understand this
@devilangel036
@devilangel036 4 жыл бұрын
1. I've used VM ware to use Ubuntu 2. Inside my ubuntu I've deployed the application. 3. I'm struggling to access this application/container over the internet. Can you please let me know the steps to achieve this 😭
@saddudehours
@saddudehours 4 жыл бұрын
you have to add those changes to your router, and portfoward. dont do this tho, youll get hacked. use a vps instead.
@GrafBazooka
@GrafBazooka 10 ай бұрын
gjjjj !
@hassanebendaoud4446
@hassanebendaoud4446 2 жыл бұрын
thank you
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
TechWorld with Nana
Рет қаралды 1,9 МЛН
Docker Networking Tutorial, ALL Network Types explained!
19:46
Christian Lempa
Рет қаралды 210 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 468 М.
Dockerfile >Docker Image > Docker Container | Beginners Hands-On | Step by Step
17:58
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 343 М.
Docker Networking Crash Course
49:19
Hussein Nasser
Рет қаралды 86 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 370 М.
It's Making Me REPLACE Docker...
14:33
Jim's Garage
Рет қаралды 60 М.
Virtual Machine (VM) vs Docker
8:52
IBM Technology
Рет қаралды 226 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН