Home > other >  Docker container web application can connect to another host machine mysql?
Docker container web application can connect to another host machine mysql?

Time:10-10

Installed in the hosting A mysql installation (not docker container), installed on the host docker, deployed web applications in A docker,
When running A docker container, web application even hosting A mysql, into 172.17.0.1 is also not line,
The docker containers can ping all night long, host A
Excuse me is there A way to, let the docker container cheng connected web application hosting A mysql?

CodePudding user response:

What is the connection error information

CodePudding user response:

reference 1st floor DoloresOOO response:
connection error message is what

This is an error message:
  • Related