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.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!