diff --git a/content/rancher/v2.6/en/installation/resources/bootstrap-password/_index.md b/content/rancher/v2.6/en/installation/resources/bootstrap-password/_index.md index ac6534aafdd..f0875b5e8a2 100644 --- a/content/rancher/v2.6/en/installation/resources/bootstrap-password/_index.md +++ b/content/rancher/v2.6/en/installation/resources/bootstrap-password/_index.md @@ -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. \ No newline at end of file +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:" +``` \ No newline at end of file