Improve markdown highlighting in docker multinode getting started guides.

This commit is contained in:
Alex Robinson
2015-07-18 19:05:35 -07:00
parent 1bc91a3c72
commit 261e347e60
3 changed files with 6 additions and 6 deletions

View File

@@ -67,7 +67,7 @@ across reboots and failures.
Run:
```
```sh
sudo docker -H unix:///var/run/docker-bootstrap.sock run --net=host -d gcr.io/google_containers/etcd:2.0.12 /usr/local/bin/etcd --addr=127.0.0.1:4001 --bind-addr=0.0.0.0:4001 --data-dir=/var/etcd/data
```
@@ -114,7 +114,7 @@ The previous command should have printed a really long hash, copy this hash.
Now get the subnet settings from flannel:
```
```sh
sudo docker -H unix:///var/run/docker-bootstrap.sock exec <really-long-hash-from-above-here> cat /run/flannel/subnet.env
```
@@ -185,7 +185,7 @@ kubectl get nodes
This should print:
```
```console
NAME LABELS STATUS
127.0.0.1 kubernetes.io/hostname=127.0.0.1 Ready
```

View File

@@ -41,7 +41,7 @@ kubectl get nodes
That should show something like:
```
```console
NAME LABELS STATUS
10.240.99.26 kubernetes.io/hostname=10.240.99.26 Ready
127.0.0.1 kubernetes.io/hostname=127.0.0.1 Ready
@@ -66,7 +66,7 @@ kubectl expose rc nginx --port=80
This should print:
```
```console
NAME LABELS SELECTOR IP PORT(S)
nginx <none> run=nginx <ip-addr> 80/TCP
```

View File

@@ -97,7 +97,7 @@ The previous command should have printed a really long hash, copy this hash.
Now get the subnet settings from flannel:
```
```sh
sudo docker -H unix:///var/run/docker-bootstrap.sock exec <really-long-hash-from-above-here> cat /run/flannel/subnet.env
```