Remove references to boot2docker replace with docker-machine
- boot2docker is deprecated in the 1.8.0 - docker-machine replaces it - this fixes #14563 - Updating with thaJetzah comments Signed-off-by: Mary Anthony <mary@docker.com> Upstream-commit: 1825e06944db20ec677aa8d26b36e9036b0dd257 Component: engine
This commit is contained in:
@ -158,8 +158,8 @@ as daemon process(es).
|
||||
# Usage: mongo --port <port you get from `docker ps`>
|
||||
$ mongo --port 27017
|
||||
|
||||
# If using boot2docker
|
||||
# Usage: mongo --port <port you get from `docker ps`> --host <ip address from `boot2docker ip`>
|
||||
# If using docker-machine
|
||||
# Usage: mongo --port <port you get from `docker ps`> --host <ip address from `docker-machine ip VM_NAME`>
|
||||
$ mongo --port 27017 --host 192.168.59.103
|
||||
|
||||
> **Tip:**
|
||||
|
||||
@ -187,10 +187,10 @@ Now you can call your app using `curl` (install if needed via:
|
||||
|
||||
Hello world
|
||||
|
||||
If you use Boot2docker on OS X, the port is actually mapped to the Docker host VM,
|
||||
and you should use the following command:
|
||||
If you use Docker Machine on OS X, the port is actually mapped to the Docker
|
||||
host VM, and you should use the following command:
|
||||
|
||||
$ curl $(boot2docker ip):49160
|
||||
$ curl $(docker-machine ip VM_NAME):49160
|
||||
|
||||
We hope this tutorial helped you get up and running with Node.js and
|
||||
CentOS on Docker. You can get the full source code at
|
||||
|
||||
Reference in New Issue
Block a user