Formatting fixes

This commit is contained in:
John Mulhausen 2016-10-11 01:24:55 -07:00
parent 0937284ec7
commit 1dc817611b
1 changed files with 10 additions and 10 deletions

View File

@ -175,13 +175,13 @@ active tasks.
You can inspect the service to view the virtual IP. For example:
```bash{% raw %}
```liquid
$ docker service inspect \
--format='{{json .Endpoint.VirtualIPs}}' \
--format='{% raw %}{{json .Endpoint.VirtualIPs}}{% endraw %}' \
my-web
[{"NetworkID":"7m2rjx0a97n88wzr4nu8772r3" "Addr":"10.0.0.2/24"}]
{% endraw %}```
```
The following example shows how you can add a `busybox` service on the same
network as the `nginx` service and the busybox service is able to access `nginx`
@ -234,7 +234,7 @@ the busybox container:
available DNS query tool.
5. From inside the busybox container, query the DNS using a special query
<tasks.SERVICE-NAME> to find the IP addresses of all the containers for the
&lt;tasks.SERVICE-NAME&gt; to find the IP addresses of all the containers for the
`my-web` service:
```bash