mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 12:41:42 +00:00
Merge pull request #6468 from jstoja/6374-docs-apache-image
Docs: apache image on installation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user