mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-27 13:38:07 +00:00
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:
+1
-1
@@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user