Clarify docker machine example

This commit is contained in:
Carol Willing 2015-12-28 08:05:57 -08:00
parent 2d884a29c8
commit 32c5dcfec1

View File

@ -41,7 +41,7 @@ Launch with:
### Running in a Docker container
If you are using Linux and have a
If you are using **Linux** and have a
[Docker daemon running](https://docs.docker.com/installation/),
e.g. reachable on `localhost`, start a container with:
@ -50,13 +50,20 @@ e.g. reachable on `localhost`, start a container with:
In your browser, open the URL `http://localhost:8888/`.
All notebooks from your session will be saved in the current directory.
On other platforms, such as Windows and OS X, that require using
`docker-machine` with `docker`, a container can be started using
On other platforms, such as **Windows and OS X**, that use
[`docker-machine`](https://docs.docker.com/machine/install-machine/) with `docker`, a container can be started using
`docker-machine`. In the browser, open the URL `http://ip:8888/` where `ip` is
the IP address returned from the command [`docker-machine ip <MACHINE>`](https://docs.docker.com/machine/reference/ip/):
$ docker-machine ip <MACHINE>
For example,
$ docker-machine ip myjupytermachine
192.168.99.104
In browser, open http://192.168.99.104:8888
Note: With the deprecated `boot2docker`, use the command `boot2docker ip` to
determine the URL.