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
@@ -44,8 +44,8 @@ Log into your Linux host, and then run the minimum installation command below.
```bash ```bash
docker run -d --restart=unless-stopped \ docker run -d --restart=unless-stopped \
-p 80:80 -p 443:443 \ -p 80:80 -p 443:443 \
rancher/rancher:latest rancher/rancher:latest
``` ```
### Option B: Bring Your Own Certificate, Self-signed ### Option B: Bring Your Own Certificate, Self-signed
@@ -68,11 +68,11 @@ After creating your certificate, run the Docker command below to install Rancher
```bash ```bash
docker run -d --restart=unless-stopped \ docker run -d --restart=unless-stopped \
-p 80:80 -p 443:443 \ -p 80:80 -p 443:443 \
-v /<CERT_DIRECTORY>/<FULL_CHAIN.pem>:/etc/rancher/ssl/cert.pem \ -v /<CERT_DIRECTORY>/<FULL_CHAIN.pem>:/etc/rancher/ssl/cert.pem \
-v /<CERT_DIRECTORY>/<PRIVATE_KEY.pem>:/etc/rancher/ssl/key.pem \ -v /<CERT_DIRECTORY>/<PRIVATE_KEY.pem>:/etc/rancher/ssl/key.pem \
-v /<CERT_DIRECTORY>/<CA_CERTS.pem>:/etc/rancher/ssl/cacerts.pem \ -v /<CERT_DIRECTORY>/<CA_CERTS.pem>:/etc/rancher/ssl/cacerts.pem \
rancher/rancher:latest rancher/rancher:latest
``` ```
### Option C: Bring Your Own Certificate, Signed by a Recognized CA ### Option C: Bring Your Own Certificate, Signed by a Recognized CA
@@ -97,11 +97,11 @@ After obtaining your certificate, run the Docker command below.
```bash ```bash
docker run -d --restart=unless-stopped \ docker run -d --restart=unless-stopped \
-p 80:80 -p 443:443 \ -p 80:80 -p 443:443 \
-v /<CERT_DIRECTORY>/<FULL_CHAIN.pem>:/etc/rancher/ssl/cert.pem \ -v /<CERT_DIRECTORY>/<FULL_CHAIN.pem>:/etc/rancher/ssl/cert.pem \
-v /<CERT_DIRECTORY>/<PRIVATE_KEY.pem>:/etc/rancher/ssl/key.pem \ -v /<CERT_DIRECTORY>/<PRIVATE_KEY.pem>:/etc/rancher/ssl/key.pem \
rancher/rancher:latest \ rancher/rancher:latest \
--no-cacerts --no-cacerts
``` ```
### Option D: Let's Encrypt Certificate ### Option D: Let's Encrypt Certificate
@@ -124,9 +124,9 @@ After you fulfill the prerequisites, you can install Rancher using a Let's Encry
``` ```
docker run -d --restart=unless-stopped \ docker run -d --restart=unless-stopped \
-p 80:80 -p 443:443 \ -p 80:80 -p 443:443 \
rancher/rancher:latest \ rancher/rancher:latest \
--acme-domain <YOUR.DNS.NAME> --acme-domain <YOUR.DNS.NAME>
``` ```
## Advanced Options ## Advanced Options
@@ -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.
@@ -135,7 +135,7 @@ 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 \ -p 80:80 -p 443:443 \
rancher/rancher:<RANCHER_VERSION_TAG> rancher/rancher:<RANCHER_VERSION_TAG>
``` ```
{{% /accordion %}} {{% /accordion %}}
@@ -157,11 +157,11 @@ 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>
``` ```
{{% /accordion %}} {{% /accordion %}}
@@ -181,10 +181,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 \
rancher/rancher:<RANCHER_VERSION_TAG> \ rancher/rancher:<RANCHER_VERSION_TAG> \
--no-cacerts --no-cacerts
``` ```
{{% /accordion %}} {{% /accordion %}}
@@ -207,8 +207,8 @@ 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 \ -p 80:80 -p 443:443 \
rancher/rancher:<RANCHER_VERSION_TAG> \ rancher/rancher:<RANCHER_VERSION_TAG> \
--acme-domain <YOUR.DNS.NAME> --acme-domain <YOUR.DNS.NAME>
``` ```