R
Railway10mo 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
Percy10mo ago
Project ID: a9a9166a-63ac-4337-bb67-24577343a636
Brody
Brody10mo ago
does your dockerfile use an alpine image?
Sameer
SameerOP10mo ago
a9a9166a-63ac-4337-bb67-24577343a636 yes it uses alpine
Sameer
SameerOP10mo ago
thnx! trying this now this worked thnx!
Brody
Brody10mo ago
no prob!
Want results from more Discord servers?
Add your server