mirror of https://github.com/docker/docs.git
Merge pull request #2881 from robbertkl/docs-fix-ips
Replace public IPs with reserved ones
This commit is contained in:
commit
aeec7b716e
|
@ -53,7 +53,7 @@ To see how to connect Docker to this machine, run: docker-machine env staging
|
||||||
$ docker-machine ls
|
$ docker-machine ls
|
||||||
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
|
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
|
||||||
default - virtualbox Running tcp://192.168.99.188:2376 v1.9.1
|
default - virtualbox Running tcp://192.168.99.188:2376 v1.9.1
|
||||||
staging - digitalocean Running tcp://45.55.21.28:2376 v1.9.1
|
staging - digitalocean Running tcp://203.0.113.81:2376 v1.9.1
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installation and documentation
|
## Installation and documentation
|
||||||
|
|
|
@ -76,7 +76,7 @@ From this point, the remote host behaves much like the local host we created in
|
||||||
$ docker-machine ls
|
$ docker-machine ls
|
||||||
NAME ACTIVE DRIVER STATE URL
|
NAME ACTIVE DRIVER STATE URL
|
||||||
dev - virtualbox Running tcp://192.168.99.103:2376
|
dev - virtualbox Running tcp://192.168.99.103:2376
|
||||||
staging * digitalocean Running tcp://104.236.50.118:2376
|
staging * digitalocean Running tcp://203.0.113.81:2376
|
||||||
|
|
||||||
To remove a host and all of its containers and images, use `docker-machine rm`:
|
To remove a host and all of its containers and images, use `docker-machine rm`:
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,8 @@ See which machine is "active" (a machine is considered active if the
|
||||||
$ docker-machine ls
|
$ docker-machine ls
|
||||||
NAME ACTIVE DRIVER STATE URL
|
NAME ACTIVE DRIVER STATE URL
|
||||||
dev - virtualbox Running tcp://192.168.99.103:2376
|
dev - virtualbox Running tcp://192.168.99.103:2376
|
||||||
staging * digitalocean Running tcp://104.236.50.118:2376
|
staging * digitalocean Running tcp://203.0.113.81:2376
|
||||||
$ echo $DOCKER_HOST
|
$ echo $DOCKER_HOST
|
||||||
tcp://104.236.50.118:2376
|
tcp://203.0.113.81:2376
|
||||||
$ docker-machine active
|
$ docker-machine active
|
||||||
staging
|
staging
|
||||||
|
|
Loading…
Reference in New Issue