Skip to content

Commit

Permalink
Update README.md docker image usage
Browse files Browse the repository at this point in the history
Signed-off-by: Meza <meza-xyz@proton.me>
  • Loading branch information
jmeza-xyz committed Jan 7, 2025
1 parent 80099f6 commit 7c095e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Run `CROSS=1 make build`.

## Docker Image

Run `docker run --rm -it -v <PATH_TO_CONFIG>:/root/.rancher/cli2.json rancher/cli2 [ARGS]`.
Run `docker run --rm -it -v <PATH_TO_CONFIG>:/home/cli/.rancher/cli2.json rancher/cli2 [ARGS]`.
Pass credentials by replacing `<PATH_TO_CONFIG>` with your config file for the server.

To build `rancher/cli`, run `make`. To use a custom Docker repository, do `REPO=custom make`, which produces a `custom/cli` image.
Expand Down

0 comments on commit 7c095e1

Please sign in to comment.