Add note on use of boot2docker ip

This commit is contained in:
David Currie 2015-07-30 17:16:08 +01:00
parent bdb4189508
commit a91b0f9159
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ The image is designed to support a number of different usage patterns. The follo
Once the server has started, you can browse to http://localhost/Sample1/SimpleServlet on the Docker host. Once the server has started, you can browse to http://localhost/Sample1/SimpleServlet on the Docker host.
Note: If you are using the boot2docker virtual machine on OS X or Windows, you'll need to get the IP of the virtual host using the command `boot2docker ip` instead of using localhost.
2. For greater flexibility over configuration, it is possible to mount an entire server configuration directory from the host and then specify the server name as a parameter to the run command. Note that this particular example server configuration only provides HTTP access. 2. For greater flexibility over configuration, it is possible to mount an entire server configuration directory from the host and then specify the server name as a parameter to the run command. Note that this particular example server configuration only provides HTTP access.
docker run -e LICENSE=accept -d -p 80:9080 \ docker run -e LICENSE=accept -d -p 80:9080 \