fix: replaced tabs by spaces in code blocks

Fixes an issue, that you could not copy these
commands into the console if they contained tabs.
This commit is contained in:
Max Schmitt
2020-03-28 18:14:45 +01:00
parent 682c75c3e0
commit df35258f8a
3 changed files with 29 additions and 29 deletions
@@ -49,7 +49,7 @@ To install Rancher on your host, connect to it and then use a shell to install.
2. From your shell, enter the following command: 2. From your shell, enter the following command:
``` ```
$ sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher
``` ```
**Result:** Rancher is installed. **Result:** Rancher is installed.
@@ -157,10 +157,10 @@ Placeholder | Description
``` ```
docker run -d --volumes-from rancher-data \ docker run -d --volumes-from rancher-data \
--restart=unless-stopped \ --restart=unless-stopped \
-p 80:80 -p 443:443 \ - 80:80 -p 443:443 \
-v /<CERT_DIRECTORY>/<FULL_CHAIN.pem>:/etc/rancher/ssl/cert.pem \ - /<CERT_DIRECTORY>/<FULL_CHAIN.pem>:/etc/rancher/ssl/cert.pem \
-v /<CERT_DIRECTORY>/<PRIVATE_KEY.pem>:/etc/rancher/ssl/key.pem \ - /<CERT_DIRECTORY>/<PRIVATE_KEY.pem>:/etc/rancher/ssl/key.pem \
-v /<CERT_DIRECTORY>/<CA_CERTS.pem>:/etc/rancher/ssl/cacerts.pem \ - /<CERT_DIRECTORY>/<CA_CERTS.pem>:/etc/rancher/ssl/cacerts.pem \
rancher/rancher:<RANCHER_VERSION_TAG> rancher/rancher:<RANCHER_VERSION_TAG>
``` ```
@@ -181,9 +181,9 @@ Placeholder | Description
``` ```
docker run -d --volumes-from rancher-data \ docker run -d --volumes-from rancher-data \
--restart=unless-stopped \ --restart=unless-stopped \
-p 80:80 -p 443:443 \ - 80:80 -p 443:443 \
-v /<CERT_DIRECTORY>/<FULL_CHAIN.pem>:/etc/rancher/ssl/cert.pem \ - /<CERT_DIRECTORY>/<FULL_CHAIN.pem>:/etc/rancher/ssl/cert.pem \
-v /<CERT_DIRECTORY>/<PRIVATE_KEY.pem>:/etc/rancher/ssl/key.pem \ - /<CERT_DIRECTORY>/<PRIVATE_KEY.pem>:/etc/rancher/ssl/key.pem \
rancher/rancher:<RANCHER_VERSION_TAG> \ rancher/rancher:<RANCHER_VERSION_TAG> \
--no-cacerts --no-cacerts
``` ```