Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 914 Bytes

README.md

File metadata and controls

42 lines (31 loc) · 914 Bytes

Docker-Rancher-Helm

Overview

Docker image containing rancher client, helm client and kubectl. This image is available on DockerHub.

build image

$ make docker/build/<TAG>

push image

$ make docker/push/<TAG>

run rancher command

$ docker run --rm -v <PATH_TO_CONFIG>:/root/.rancher/cli2.json rancher:<TAG> "rancher --help"

run helm command

$ docker run --rm rancher:<TAG> "helm --help"

run kubectl command

$ docker run --rm -v <PATH_TO_CONFIG>:/root/.rancher/cli2.json rancher:<TAG> "rancher kubectl --help"

where <TAG> is the image tag and <PATH_TO_CONFIG> is the path for rancher client config path

Contributing

Workflow

  1. Fork this repository
  2. Clone your fork
  3. Create and test your changes
  4. Create a pull-request
  5. Wait for reviewers feedback