From d5eea34640b8ee4261b9504eda620107236ee77d Mon Sep 17 00:00:00 2001 From: Catherine Luse Date: Fri, 16 Aug 2019 14:43:12 -0700 Subject: [PATCH] Make sure note about default registry is in install Rancher docs --- .../air-gap-single-node/install-rancher/_index.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content/rancher/v2.x/en/installation/air-gap-single-node/install-rancher/_index.md b/content/rancher/v2.x/en/installation/air-gap-single-node/install-rancher/_index.md index 5164e06241b..305725e4ae6 100644 --- a/content/rancher/v2.x/en/installation/air-gap-single-node/install-rancher/_index.md +++ b/content/rancher/v2.x/en/installation/air-gap-single-node/install-rancher/_index.md @@ -21,6 +21,7 @@ If you are installing Rancher in a development or testing environment where iden Log into your Linux host, and then run the installation command below. Replace `` with your private registry URL and port. Replace `` with release tag of the [Rancher version]({{< baseurl >}}/rancher/v2.x/en/installation/server-tags/) that you want to install. +If your private registry doesn't require credentials, you can set it as default when starting the rancher/rancher container by using the environment variable `CATTLE_SYSTEM_DEFAULT_REGISTRY`. docker run -d --restart=unless-stopped \ -p 80:80 -p 443:443 \ @@ -49,7 +50,7 @@ Placeholder | Description `` | Your private registry URL and port. This configures Rancher to use your private registry when starting the `rancher/rancher` container. `` | The release tag of the [Rancher version]({{< baseurl >}}/rancher/v2.x/en/installation/server-tags/) that you want to install. -If your private registry doesn't require credentials to pull images, you can set it as default when starting the rancher/rancher container by using the environment variable `CATTLE_SYSTEM_DEFAULT_REGISTRY`. +If your private registry doesn't require credentials, you can set it as default when starting the rancher/rancher container by using the environment variable `CATTLE_SYSTEM_DEFAULT_REGISTRY`. ``` docker run -d --restart=unless-stopped \ @@ -72,6 +73,8 @@ After obtaining your certificate, run the Docker command below, replacing each p When entering the command, use the table below to replace each placeholder. +If your private registry doesn't require credentials, you can set it as default when starting the rancher/rancher container by using the environment variable `CATTLE_SYSTEM_DEFAULT_REGISTRY`. + Placeholder | Description ------------|------------- `` | The path to the directory containing your certificate files.