tsh CLI running in docker, so you can run any version you need
577
Run your Teleport tsh CLI inside a docker container, so you can use multiple tsh versions on the same machine.
k9s and kubectl are included so you can interact with K8s cluster easily.
The image is based on Ubuntu 22.04.
tsh): Access your Teleport clusters.kubectl: Interact with your Kubernetes clusters through the Teleport proxy.k9s: Browse your Kubernetes clusters with an enhanced terminal UI.The easiest way to get started is to pull the latest image from Docker Hub.
docker pull uncookedconcept/tsh-in-docker:latest
To start an interactive shell within the environment, run the following command.
The -v volume mounts are essential to persist your tsh and kubectl configurations between sessions.
docker run --rm -it \
-v ~/.tsh:/root/.tsh \
-v ~/.kube:/root/.kube \
uncookedconcept/tsh-in-docker:latest
You can build the image locally to use specific versions of the included tools.
git clone https://github.com/GestaltCaius/tsh-in-docker.git
cd tsh-in-docker
You can override the default versions using --build-arg flags.
# Example: Build with a different version of tsh
docker build \
--build-arg TELEPORT_VERSION=17.4.8 \
-t tsh:17.4.8 .
| Argument | Description | Default |
|---|---|---|
TELEPORT_VERSION | The version of the Teleport client (tsh) | 13.4.26 |
KUBECTL_VERSION | The version of kubectl | 1.33.2 |
K9S_VERSION | The version of k9s | 0.50.9 |
Contributions are welcome! Please feel free to open an issue or submit a pull request.
This project is licensed under the AGPLv3 - see the LICENSE file for details.
Content type
Image
Digest
sha256:598d18be3…
Size
224.3 MB
Last updated
over 1 year ago
docker pull uncookedconcept/tsh-in-docker