Created
March 29, 2021 23:46
-
-
Save tonio-m/0609b60d358df4b0c1e2cb66d2032043 to your computer and use it in GitHub Desktop.
Connecting to private IPs on the host's network from inside a docker container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker network create -d bridge --subnet 192.168.0.0/24 --gateway 192.168.0.1 dockernet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment