Docker image based on alpine with :
rancher-cli v2.2.0kubectl v1.13.2Launch the container
docker run --rm -it alphayax/rancher-cli
Login to rancher
You'll need an API key. See: https://rancher.com/docs/rancher/v2.x/en/user-settings/api-keys/#creating-an-api-key
rancher login --token <rancher_api_token> https://192.168.80.30/
Use kubectl (via rancher)
rancher kubectl get nodes
Content type
Image
Digest
Size
18.7 MB
Last updated
over 7 years ago
docker pull alphayax/rancher-cli