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
docker run -d --restart=unless-stopped \
-p 80:80 -p 443:443 \
rancher/rancher:latest
-p 80:80 -p 443:443 \
rancher/rancher:latest
```
### 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
docker run -d --restart=unless-stopped \
-p 80:80 -p 443:443 \
-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>/<CA_CERTS.pem>:/etc/rancher/ssl/cacerts.pem \
rancher/rancher:latest
-p 80:80 -p 443:443 \
-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>/<CA_CERTS.pem>:/etc/rancher/ssl/cacerts.pem \
rancher/rancher:latest
```
### 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
docker run -d --restart=unless-stopped \
-p 80:80 -p 443:443 \
-v /<CERT_DIRECTORY>/<FULL_CHAIN.pem>:/etc/rancher/ssl/cert.pem \
-v /<CERT_DIRECTORY>/<PRIVATE_KEY.pem>:/etc/rancher/ssl/key.pem \
rancher/rancher:latest \
--no-cacerts
-p 80:80 -p 443:443 \
-v /<CERT_DIRECTORY>/<FULL_CHAIN.pem>:/etc/rancher/ssl/cert.pem \
-v /<CERT_DIRECTORY>/<PRIVATE_KEY.pem>:/etc/rancher/ssl/key.pem \
rancher/rancher:latest \
--no-cacerts
```
### 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 \
-p 80:80 -p 443:443 \
rancher/rancher:latest \
--acme-domain <YOUR.DNS.NAME>
-p 80:80 -p 443:443 \
rancher/rancher:latest \
--acme-domain <YOUR.DNS.NAME>
```
## Advanced Options