This container can be used to run rancher CLI commands.
-
Pass authentication variables to docker using env, e.g.
docker run --rm -it -e "RANCHER_URL=<your-rancher-server>" -e "RANCHER_ACCESS_KEY=<your-access-key>" -e "RANCHER_SECRET_KEY=<your-secret-key>" \ -v "$PWD:/workspace" fabn/rancher-cli