Home > other >  Consult a docker container access hosting service
Consult a docker container access hosting service

Time:09-16

Consult a docker container access hosting service,
Nginx containers to access uwsgi on host services, nginx configuration file is currently in the container,

I don't know how to modify now nginx configuration files in the container, can be accessed through the nginx container hosting django uwsgi service

CodePudding user response:

Container up before the specified port exposed to try

CodePudding user response:

I won't, bosses, solution to reassure me to learn

CodePudding user response:

IP to the address of the host machine, directory do not change, whether can try; If not just create a container with the host machine directory mounted to the container,

CodePudding user response:

I won't, and I'll light heavyweight solution

CodePudding user response:

Try small program: the cloud to meters, input: KESS4HK, knowledge about the architecture of cloud computing of the commission, may have a look

CodePudding user response:

If the host IP 172.17.0.1

CodePudding user response:

Method 1: the corresponding directory mounted to the container inside, and make configuration changes to the inside of the container the actual path
Method 2: nginx containers as an agent, directly to monitor 8080, pool configuration server hosting the actual IP + port
  • Related