Docker Install Commands
The Docker installation is for Rancher users who want to test out Rancher.
Instead of running on a Kubernetes cluster, you install the Rancher server component on a single node using a docker run
command. Since there is only one node and a single Docker container, if the node goes down, there is no copy of the etcd data available on other nodes and you will lose all the data of your Rancher server.
The backup application can be used to migrate the Rancher server from a Docker install to a Kubernetes install using these steps.
For security purposes, SSL (Secure Sockets Layer) is required when using Rancher. SSL secures all Rancher network communication, like when you login or interact with a cluster.
Environment Variable Key | Environment Variable Value | Description |
---|---|---|
CATTLE_SYSTEM_DEFAULT_REGISTRY | <REGISTRY.YOURDOMAIN.COM:PORT> | Configure Rancher server to always pull from your private registry when provisioning clusters. |
CATTLE_SYSTEM_CATALOG | bundled | Configure Rancher server to use the packaged copy of Helm system charts. The system charts repository contains all the catalog items required for features such as monitoring, logging, alerting and global DNS. These Helm charts are located in GitHub, but since you are in an air gapped environment, using the charts that are bundled within Rancher is much easier than setting up a Git mirror. |
Do you want to..
- Configure custom CA root certificate to access your services? See Custom CA root certificate.
- Record all transactions with the Rancher API? See API Auditing.
Choose from the following options: