You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run a container in that network, publishing its port 80 to port 8080 on
186
+
the host's loopback interface:
187
+
188
+
```console
189
+
$ docker run -d --ip 192.0.2.100 -p 127.0.0.1:8080:80 nginx
190
+
```
191
+
192
+
The web server running on the container's port 80 can now be accessed
193
+
from the Docker host at `http://127.0.0.1:8080`, or directly at
194
+
`http://192.0.2.100:80`. If remote hosts on networks connected to
195
+
interfaces `vxlan.1` and `eth3` have a route to the `192.0.2.0/24`
196
+
network inside the Docker host, they can also access the web server
197
+
via `http://192.0.2.100:80`.
0 commit comments