mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Now using the nginx docker image instead of the apache one. dotcloud/docker/issues/6374
Docker-DCO-1.1-Signed-off-by: Julien Bordellier <me@julienbordellier.com> (github: jstoja)
This commit is contained in:
parent
c99ee556d4
commit
207d7807af
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
|
||||
|
||||
|
|
|
@ -72,9 +72,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…
Reference in a new issue