mirror of https://github.com/docker/docs.git
Merge pull request #1664 from mstanleyjones/liquid_errors
Add {% raw %} notation to a few codeblocks
This commit is contained in:
commit
93e64bb762
|
@ -88,6 +88,7 @@ The examples below assume you are logged in with ssh into a UCP manager node.
|
||||||
### Check the status of the database
|
### Check the status of the database
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
{% raw %}
|
||||||
# NODE_ADDRESS will be the IP address of this Docker Swarm manager node
|
# NODE_ADDRESS will be the IP address of this Docker Swarm manager node
|
||||||
NODE_ADDRESS=$(docker info --format '{{.Swarm.NodeAddr}}')
|
NODE_ADDRESS=$(docker info --format '{{.Swarm.NodeAddr}}')
|
||||||
# VERSION will be your most recent version of the docker/ucp-auth image
|
# VERSION will be your most recent version of the docker/ucp-auth image
|
||||||
|
@ -95,11 +96,13 @@ VERSION=$(docker image ls --format '{{.Tag}}' docker/ucp-auth | head -n 1)
|
||||||
# This command will output detailed status of all servers and database tables
|
# This command will output detailed status of all servers and database tables
|
||||||
# in the RethinkDB cluster.
|
# in the RethinkDB cluster.
|
||||||
docker run --rm -v ucp-auth-store-certs:/tls docker/ucp-auth:${VERSION} --db-addr=${NODE_ADDRESS}:12383 db-status
|
docker run --rm -v ucp-auth-store-certs:/tls docker/ucp-auth:${VERSION} --db-addr=${NODE_ADDRESS}:12383 db-status
|
||||||
|
{% endraw %}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Manually reconfigure database replication
|
### Manually reconfigure database replication
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
{% raw %}
|
||||||
# NODE_ADDRESS will be the IP address of this Docker Swarm manager node
|
# NODE_ADDRESS will be the IP address of this Docker Swarm manager node
|
||||||
NODE_ADDRESS=$(docker info --format '{{.Swarm.NodeAddr}}')
|
NODE_ADDRESS=$(docker info --format '{{.Swarm.NodeAddr}}')
|
||||||
# NUM_MANAGERS will be the current number of manager nodes in the cluster
|
# NUM_MANAGERS will be the current number of manager nodes in the cluster
|
||||||
|
@ -109,6 +112,7 @@ VERSION=$(docker image ls --format '{{.Tag}}' docker/ucp-auth | head -n 1)
|
||||||
# This reconfigure-db command will repair the RethinkDB cluster to have a
|
# This reconfigure-db command will repair the RethinkDB cluster to have a
|
||||||
# number of replicas equal to the number of manager nodes in the cluster.
|
# number of replicas equal to the number of manager nodes in the cluster.
|
||||||
docker run --rm -v ucp-auth-store-certs:/tls docker/ucp-auth:${VERSION} --db-addr=${NODE_ADDRESS}:12383 --debug reconfigure-db --num-replicas ${NUM_MANAGERS} --emergency-repair
|
docker run --rm -v ucp-auth-store-certs:/tls docker/ucp-auth:${VERSION} --db-addr=${NODE_ADDRESS}:12383 --debug reconfigure-db --num-replicas ${NUM_MANAGERS} --emergency-repair
|
||||||
|
{% endraw %}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Where to go next
|
## Where to go next
|
||||||
|
|
Loading…
Reference in New Issue