diff --git a/content/rancher/v2.x/en/installation/other-installation-methods/single-node-docker/_index.md b/content/rancher/v2.x/en/installation/other-installation-methods/single-node-docker/_index.md index 0f6386a6f62..2626d4a96f7 100644 --- a/content/rancher/v2.x/en/installation/other-installation-methods/single-node-docker/_index.md +++ b/content/rancher/v2.x/en/installation/other-installation-methods/single-node-docker/_index.md @@ -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 //:/etc/rancher/ssl/cert.pem \ - -v //:/etc/rancher/ssl/key.pem \ - -v //:/etc/rancher/ssl/cacerts.pem \ - rancher/rancher:latest + -p 80:80 -p 443:443 \ + -v //:/etc/rancher/ssl/cert.pem \ + -v //:/etc/rancher/ssl/key.pem \ + -v //:/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 //:/etc/rancher/ssl/cert.pem \ - -v //:/etc/rancher/ssl/key.pem \ - rancher/rancher:latest \ - --no-cacerts + -p 80:80 -p 443:443 \ + -v //:/etc/rancher/ssl/cert.pem \ + -v //:/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 + -p 80:80 -p 443:443 \ + rancher/rancher:latest \ + --acme-domain ``` ## Advanced Options diff --git a/content/rancher/v2.x/en/quick-start-guide/deployment/quickstart-manual-setup/_index.md b/content/rancher/v2.x/en/quick-start-guide/deployment/quickstart-manual-setup/_index.md index fc89564232a..ee362745c46 100644 --- a/content/rancher/v2.x/en/quick-start-guide/deployment/quickstart-manual-setup/_index.md +++ b/content/rancher/v2.x/en/quick-start-guide/deployment/quickstart-manual-setup/_index.md @@ -3,7 +3,7 @@ title: Manual Quick Start weight: 300 --- Howdy Partner! This tutorial walks you through: - + - Installation of {{< product >}} 2.x - Creation of your first cluster - Deployment of an application, Nginx @@ -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: ``` - $ 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. diff --git a/content/rancher/v2.x/en/upgrades/upgrades/single-node/_index.md b/content/rancher/v2.x/en/upgrades/upgrades/single-node/_index.md index 6c5581e8f0b..6e859c2f9b0 100644 --- a/content/rancher/v2.x/en/upgrades/upgrades/single-node/_index.md +++ b/content/rancher/v2.x/en/upgrades/upgrades/single-node/_index.md @@ -135,7 +135,7 @@ Placeholder | Description docker run -d --volumes-from rancher-data \ --restart=unless-stopped \ -p 80:80 -p 443:443 \ - rancher/rancher: + rancher/rancher: ``` {{% /accordion %}} @@ -157,11 +157,11 @@ Placeholder | Description ``` docker run -d --volumes-from rancher-data \ --restart=unless-stopped \ - -p 80:80 -p 443:443 \ - -v //:/etc/rancher/ssl/cert.pem \ - -v //:/etc/rancher/ssl/key.pem \ - -v //:/etc/rancher/ssl/cacerts.pem \ - rancher/rancher: + - 80:80 -p 443:443 \ + - //:/etc/rancher/ssl/cert.pem \ + - //:/etc/rancher/ssl/key.pem \ + - //:/etc/rancher/ssl/cacerts.pem \ + rancher/rancher: ``` {{% /accordion %}} @@ -181,10 +181,10 @@ Placeholder | Description ``` docker run -d --volumes-from rancher-data \ --restart=unless-stopped \ - -p 80:80 -p 443:443 \ - -v //:/etc/rancher/ssl/cert.pem \ - -v //:/etc/rancher/ssl/key.pem \ - rancher/rancher: \ + - 80:80 -p 443:443 \ + - //:/etc/rancher/ssl/cert.pem \ + - //:/etc/rancher/ssl/key.pem \ + rancher/rancher: \ --no-cacerts ``` {{% /accordion %}} @@ -207,8 +207,8 @@ Placeholder | Description ``` docker run -d --volumes-from rancher-data \ --restart=unless-stopped \ - -p 80:80 -p 443:443 \ - rancher/rancher: \ + -p 80:80 -p 443:443 \ + rancher/rancher: \ --acme-domain ```