Do I need to setup a Docker network to expose container to the Internet, and if so, how to do it?Webserver in docker container is not reachable via the internetWhy does a Docker container running a server expose port to the outside world even though said port is blocked by iptables?linux container bridge port forwarding?connecting to apache server in docker container (osx and docker-machine) FROM INTERNEThow to keep my docker container up running?Docker networking IPv6 exposedDocker networking setup that is private and proxiedReverse proxy nginx docker container and ELBTemporarily expose docker containerConnect to the internet and other containers from inside Docker containerLARADOCK (laravel) container and MAILCOW docker container conflicting

Could a US political party gain complete control over the government by removing checks & balances?

I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

Set-theoretical foundations of Mathematics with only bounded quantifiers

DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?

What would happen to a modern skyscraper if it rains micro blackholes?

Can a German sentence have two subjects?

TGV timetables / schedules?

If Manufacturer spice model and Datasheet give different values which should I use?

How to add power-LED to my small amplifier?

Download, install and reboot computer at night if needed

Draw simple lines in Inkscape

What do you call something that goes against the spirit of the law, but is legal when interpreting the law to the letter?

How old can references or sources in a thesis be?

Why was the small council so happy for Tyrion to become the Master of Coin?

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

Schwarzchild Radius of the Universe

Japan - Plan around max visa duration

How can the DM most effectively choose 1 out of an odd number of players to be targeted by an attack or effect?

Patience, young "Padovan"

declaring a variable twice in IIFE

How does one intimidate enemies without having the capacity for violence?

whey we use polarized capacitor?

A Journey Through Space and Time



Do I need to setup a Docker network to expose container to the Internet, and if so, how to do it?


Webserver in docker container is not reachable via the internetWhy does a Docker container running a server expose port to the outside world even though said port is blocked by iptables?linux container bridge port forwarding?connecting to apache server in docker container (osx and docker-machine) FROM INTERNEThow to keep my docker container up running?Docker networking IPv6 exposedDocker networking setup that is private and proxiedReverse proxy nginx docker container and ELBTemporarily expose docker containerConnect to the internet and other containers from inside Docker containerLARADOCK (laravel) container and MAILCOW docker container conflicting






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0
















Summary




I mounted a local Jenkins Build Server in a local Docker Container and exposed ports 8080 both from the host to the Jenkins container.



I want to test the integration of Jenkins with Azure DevOps so Jenkins is the build server for the project.




Docker




I simply used the official jenkins/jenkins Docker image from Docker Hub and ran it like so:



docker run -d -p 8080:8080 --name jenkins jenkins/jenkins


Container is reachable from localhost:8080 and responds well.




Windows 10 Pro




In Windows 10 Firewall I created two port rules:



  1. Inbound, TCP, Local Port: All, Remote Port: All

  2. Inbound, UDP, Local Port: All, Remote Port: All


Bell Fibe HomeHub 2000




I created a port forwarding for my IP address which the modem did assosciate to the correct computer where the Docker container is running.



Home Hub 2000 Port Forwarding




Internet




When I try to access my [public ip address]:80 that I obtain by googling "what's my ip address", I hit this page.



Site can't be reached




Related SF Question




Webserver in Docker container is not reachable via the Internet



And I'm unsure as to how to proceed or even if it's necessary. I'm rather a software architect than a system admin, and I don't really understand the need of a Docker network if my ports forwarding is right.










share|improve this question
























  • Docker will do this itself. But your problem here is that "Docker for Windows" isn't, and isn't intended for production. Use Docker on a native Linux platform.

    – Michael Hampton
    Apr 4 at 14:43







  • 1





    1- You don't need to allow UDP in my opinion 2 - I would also authorize outbound 8080 in Windows firewall 3 - can you telnet localhost:8080 ?

    – Notauser
    Apr 4 at 18:32


















0
















Summary




I mounted a local Jenkins Build Server in a local Docker Container and exposed ports 8080 both from the host to the Jenkins container.



I want to test the integration of Jenkins with Azure DevOps so Jenkins is the build server for the project.




Docker




I simply used the official jenkins/jenkins Docker image from Docker Hub and ran it like so:



docker run -d -p 8080:8080 --name jenkins jenkins/jenkins


Container is reachable from localhost:8080 and responds well.




Windows 10 Pro




In Windows 10 Firewall I created two port rules:



  1. Inbound, TCP, Local Port: All, Remote Port: All

  2. Inbound, UDP, Local Port: All, Remote Port: All


Bell Fibe HomeHub 2000




I created a port forwarding for my IP address which the modem did assosciate to the correct computer where the Docker container is running.



Home Hub 2000 Port Forwarding




Internet




When I try to access my [public ip address]:80 that I obtain by googling "what's my ip address", I hit this page.



Site can't be reached




Related SF Question




Webserver in Docker container is not reachable via the Internet



And I'm unsure as to how to proceed or even if it's necessary. I'm rather a software architect than a system admin, and I don't really understand the need of a Docker network if my ports forwarding is right.










share|improve this question
























  • Docker will do this itself. But your problem here is that "Docker for Windows" isn't, and isn't intended for production. Use Docker on a native Linux platform.

    – Michael Hampton
    Apr 4 at 14:43







  • 1





    1- You don't need to allow UDP in my opinion 2 - I would also authorize outbound 8080 in Windows firewall 3 - can you telnet localhost:8080 ?

    – Notauser
    Apr 4 at 18:32














0












0








0









Summary




I mounted a local Jenkins Build Server in a local Docker Container and exposed ports 8080 both from the host to the Jenkins container.



I want to test the integration of Jenkins with Azure DevOps so Jenkins is the build server for the project.




Docker




I simply used the official jenkins/jenkins Docker image from Docker Hub and ran it like so:



docker run -d -p 8080:8080 --name jenkins jenkins/jenkins


Container is reachable from localhost:8080 and responds well.




Windows 10 Pro




In Windows 10 Firewall I created two port rules:



  1. Inbound, TCP, Local Port: All, Remote Port: All

  2. Inbound, UDP, Local Port: All, Remote Port: All


Bell Fibe HomeHub 2000




I created a port forwarding for my IP address which the modem did assosciate to the correct computer where the Docker container is running.



Home Hub 2000 Port Forwarding




Internet




When I try to access my [public ip address]:80 that I obtain by googling "what's my ip address", I hit this page.



Site can't be reached




Related SF Question




Webserver in Docker container is not reachable via the Internet



And I'm unsure as to how to proceed or even if it's necessary. I'm rather a software architect than a system admin, and I don't really understand the need of a Docker network if my ports forwarding is right.










share|improve this question

















Summary




I mounted a local Jenkins Build Server in a local Docker Container and exposed ports 8080 both from the host to the Jenkins container.



I want to test the integration of Jenkins with Azure DevOps so Jenkins is the build server for the project.




Docker




I simply used the official jenkins/jenkins Docker image from Docker Hub and ran it like so:



docker run -d -p 8080:8080 --name jenkins jenkins/jenkins


Container is reachable from localhost:8080 and responds well.




Windows 10 Pro




In Windows 10 Firewall I created two port rules:



  1. Inbound, TCP, Local Port: All, Remote Port: All

  2. Inbound, UDP, Local Port: All, Remote Port: All


Bell Fibe HomeHub 2000




I created a port forwarding for my IP address which the modem did assosciate to the correct computer where the Docker container is running.



Home Hub 2000 Port Forwarding




Internet




When I try to access my [public ip address]:80 that I obtain by googling "what's my ip address", I hit this page.



Site can't be reached




Related SF Question




Webserver in Docker container is not reachable via the Internet



And I'm unsure as to how to proceed or even if it's necessary. I'm rather a software architect than a system admin, and I don't really understand the need of a Docker network if my ports forwarding is right.







docker port-forwarding windows-10






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 4 at 14:36







Will Marcouiller

















asked Apr 4 at 13:43









Will MarcouillerWill Marcouiller

2002213




2002213












  • Docker will do this itself. But your problem here is that "Docker for Windows" isn't, and isn't intended for production. Use Docker on a native Linux platform.

    – Michael Hampton
    Apr 4 at 14:43







  • 1





    1- You don't need to allow UDP in my opinion 2 - I would also authorize outbound 8080 in Windows firewall 3 - can you telnet localhost:8080 ?

    – Notauser
    Apr 4 at 18:32


















  • Docker will do this itself. But your problem here is that "Docker for Windows" isn't, and isn't intended for production. Use Docker on a native Linux platform.

    – Michael Hampton
    Apr 4 at 14:43







  • 1





    1- You don't need to allow UDP in my opinion 2 - I would also authorize outbound 8080 in Windows firewall 3 - can you telnet localhost:8080 ?

    – Notauser
    Apr 4 at 18:32

















Docker will do this itself. But your problem here is that "Docker for Windows" isn't, and isn't intended for production. Use Docker on a native Linux platform.

– Michael Hampton
Apr 4 at 14:43






Docker will do this itself. But your problem here is that "Docker for Windows" isn't, and isn't intended for production. Use Docker on a native Linux platform.

– Michael Hampton
Apr 4 at 14:43





1




1





1- You don't need to allow UDP in my opinion 2 - I would also authorize outbound 8080 in Windows firewall 3 - can you telnet localhost:8080 ?

– Notauser
Apr 4 at 18:32






1- You don't need to allow UDP in my opinion 2 - I would also authorize outbound 8080 in Windows firewall 3 - can you telnet localhost:8080 ?

– Notauser
Apr 4 at 18:32











0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f961506%2fdo-i-need-to-setup-a-docker-network-to-expose-container-to-the-internet-and-if%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f961506%2fdo-i-need-to-setup-a-docker-network-to-expose-container-to-the-internet-and-if%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company