Skip to content
Snippets Groups Projects
Commit d17cd94b authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

more re-arranging

parent 50a10e5b
No related branches found
No related tags found
No related merge requests found
......@@ -16,14 +16,14 @@ for outbound traffic.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
23c146b78377 httpd "httpd-foreground" 20 seconds ago Up 19 seconds 0.0.0.0:8080->80/tcp apache
1. Look at the network (look for the `Containers` element):
$ docker network inspect bridge
1. Note that traffic sent to port 8080 on the *host* gets sent to port 80
in the *container*. The `-d` option tells Docker to run the container in
"detached" mode, i.e., in the background.
1. Look at the network (look for the `Containers` element):
$ docker network inspect bridge
1. Test the application. If running docker on your local machine put this
URL into your browser's address bar: `http://localhost:8080`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment