mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #6468 from jstoja/6374-docs-apache-image
Docs: apache image on installation
This commit is contained in:
commit
2294294e19
2 changed files with 4 additions and 4 deletions
|
@ -74,9 +74,9 @@ access to the container's ports.
|
|||
|
||||
If you run a container with an exposed port,
|
||||
|
||||
$ docker run --rm -i -t -p 80:80 apache
|
||||
$ docker run --rm -i -t -p 80:80 nginx
|
||||
|
||||
then you should be able to access that Apache server using the IP address reported by:
|
||||
then you should be able to access that Nginx server using the IP address reported by:
|
||||
|
||||
$ boot2docker ssh ip addr show dev eth1
|
||||
|
||||
|
|
|
@ -74,9 +74,9 @@ The latest version of `boot2docker` sets up a host only network adaptor which pr
|
|||
|
||||
If you run a container with an exposed port:
|
||||
|
||||
docker run --rm -i -t -p 80:80 apache
|
||||
docker run --rm -i -t -p 80:80 nginx
|
||||
|
||||
Then you should be able to access that Apache server using the IP address reported
|
||||
Then you should be able to access that nginx server using the IP address reported
|
||||
to you using:
|
||||
|
||||
boot2docker ip
|
||||
|
|
Loading…
Add table
Reference in a new issue