DEV Community

Espoir Murhabazi
Espoir Murhabazi

Posted on

1

How to connect to network from a docker container where the network connection is restricted for some IP

The problem

Am deploying an application to a Linux VPS on a network where only one IP address can connect to the internet, the IP of the VPS.

Am using docker and docker-compose to deploy the website and when building the docker container cannot connect to the network to download…

Top comments (1)

Collapse
 
bbasabana profile image
Bosco Basabana

very post.

Billboard image

Deploy and scale your apps on AWS and GCP with a world class developer experience

Coherence makes it easy to set up and maintain cloud infrastructure. Harness the extensibility, compliance and cost efficiency of the cloud.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay