L
L
Lane Cube2020-07-05 14:56:13
Docker
Lane Cube, 2020-07-05 14:56:13

How to configure ports in a container to exit?

Hello, I can’t google a question about docker, everyone writes how to open a port when a request goes to a container, but I need to make a request from an http container to a page (on the Internet), do I need to open the port? and it will be 80/8080?
or what needs to be done to connect the connection from the container to the Internet?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-07-05
@leinariys

Containers already have access to the outside.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question