Question

Access managed database (MySQL) over private network from inside a docker container

Posted March 2, 2020 194 views
DockerNetworkingDatabases

We run our site using docker on a droplet. I want to use DO’s newly released managed database (DB server) and have created a new cluster and imported the data. Both Droplet and DB cluster have private network enabled.

I can access the DB server from the droplet, but not from within a docker container running on the droplet. What do I need to configure in order for containers to gain access to resources within DO private network.

0 answers
Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!