R
Railway9mo ago
Sameer

Docker internal network

I have a dockerfile and it builds fine but on run the app cannot connect to the postgres service internal network. I would like to use the internal network rather than the public one, is there a way in docker file to bind host network to the container?
6 Replies
Percy
Percy9mo ago
Project ID: a9a9166a-63ac-4337-bb67-24577343a636
Brody
Brody9mo ago
does your dockerfile use an alpine image?
Sameer
Sameer9mo ago
a9a9166a-63ac-4337-bb67-24577343a636 yes it uses alpine
Sameer
Sameer9mo ago
thnx! trying this now this worked thnx!
Brody
Brody9mo ago
no prob!
Want results from more Discord servers?
Add your server