Skip to content

Instantly share code, notes, and snippets.

@flrichar
Last active September 7, 2022 18:39
Show Gist options
  • Select an option

  • Save flrichar/769517df86f5177aea983dc59b8d7cef to your computer and use it in GitHub Desktop.

Select an option

Save flrichar/769517df86f5177aea983dc59b8d7cef to your computer and use it in GitHub Desktop.
check env inside rancher pod
docker exec $(docker ps -f name="rancher_rancher" --format {{.ID}}) printenv CATTLE_SERVER_IMAGE
## could also use a combination of other env vars like CATTLE_SERVER_IMAGE, CATTLE_KDM_BRANCH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment