Add Docker command to get bootstrap password

This commit is contained in:
Catherine Luse
2021-09-01 19:03:19 -07:00
parent 2c290353c4
commit 200f306d70
@@ -19,4 +19,10 @@ kubectl get secret --namespace cattle-system bootstrap-secret -o go-template='{{
### Specifying the Bootstrap Password in Docker Installs
For a Docker install, you can specify the bootstrap password by passing `-e CATTLE_BOOTSTRAP_PASSWORD=password` to the Docker install command.
For a Docker install, you can specify the bootstrap password by passing `-e CATTLE_BOOTSTRAP_PASSWORD=password` to the Docker install command.
The password will be stored in the Docker container logs. After Rancher is installed, the UI will show instructions for how to retrieve the password using the Docker container ID:
```
docker logs container-id 2>&1 | grep "Bootstrap Password:"
```