mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-27 21:50:21 +00:00
Make sure note about default registry is in install Rancher docs
This commit is contained in:
@@ -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 `<REGISTRY.YOURDOMAIN.COM:PORT>` with your private registry URL and port. Replace `<RANCHER_VERSION_TAG>` with release tag of the [Rancher version]({{< baseurl >}}/rancher/v2.x/en/installation/server-tags/) that you want to install.
|
Log into your Linux host, and then run the installation command below. Replace `<REGISTRY.YOURDOMAIN.COM:PORT>` with your private registry URL and port. Replace `<RANCHER_VERSION_TAG>` 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 \
|
docker run -d --restart=unless-stopped \
|
||||||
-p 80:80 -p 443:443 \
|
-p 80:80 -p 443:443 \
|
||||||
@@ -49,7 +50,7 @@ Placeholder | Description
|
|||||||
`<REGISTRY.YOURDOMAIN.COM:PORT>` | Your private registry URL and port. This configures Rancher to use your private registry when starting the `rancher/rancher` container.
|
`<REGISTRY.YOURDOMAIN.COM:PORT>` | Your private registry URL and port. This configures Rancher to use your private registry when starting the `rancher/rancher` container.
|
||||||
`<RANCHER_VERSION_TAG>` | The release tag of the [Rancher version]({{< baseurl >}}/rancher/v2.x/en/installation/server-tags/) that you want to install.
|
`<RANCHER_VERSION_TAG>` | 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 \
|
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.
|
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
|
Placeholder | Description
|
||||||
------------|-------------
|
------------|-------------
|
||||||
`<CERT_DIRECTORY>` | The path to the directory containing your certificate files.
|
`<CERT_DIRECTORY>` | The path to the directory containing your certificate files.
|
||||||
|
|||||||
Reference in New Issue
Block a user