And then use the docker run command should connect the mysql database is not connected to the docker mirror created in it, why can connect to the server in mysql to above,
Docker run - it - rm mysql: 5.7.21 mysql - h39.106.137.95 - uroot - p
CodePudding user response:
- h39.106.137.95 docker IP is this?CodePudding user response:
Under the condition of the docker operation, as long as get docker IP and docker database supports remote connections, can normal connection, should need not docker run this command