Merge pull request #706 from mtyurt/docker-run-docs

Add instructions to run Docker container
mine
Fernand Galiana 2020-05-12 07:16:39 -06:00 committed by GitHub
commit 4ffb608a1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

View File

@ -82,6 +82,22 @@ K9s is available on Linux, macOS and Windows platforms.
--- ---
## Running with Docker
You can run k9s as a Docker container by mounting your `KUBECONFIG`:
```shell
docker run --rm -it -v $KUBECONFIG:/root/.kube/config derailed/k9s
```
For default path it would be:
```shell
docker run --rm -it -v ~/.kube/config:/root/.kube/config derailed/k9s
```
---
## PreFlight Checks ## PreFlight Checks
* K9s uses 256 colors terminal mode. On `Nix system make sure TERM is set accordingly. * K9s uses 256 colors terminal mode. On `Nix system make sure TERM is set accordingly.