R
Railway4mo 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
Percy4mo ago
Project ID: a9a9166a-63ac-4337-bb67-24577343a636
Brody
Brody4mo ago
does your dockerfile use an alpine image?
Sameer
Sameer4mo ago
a9a9166a-63ac-4337-bb67-24577343a636 yes it uses alpine
Sameer
Sameer4mo ago
thnx! trying this now this worked thnx!
Brody
Brody4mo ago
no prob!