k9s icon indicating copy to clipboard operation
k9s copied to clipboard

Can k9s run in a container?

Open undefine-man opened this issue 7 months ago • 3 comments

I see an image derailed/k9s in docerhub. But k9s official website doesn't give any guide to install k9s as an container. Can k9s run in a container?

undefine-man avatar May 08 '25 08:05 undefine-man

Yes it can. My usage in vscode devcontainer

FROM mcr.microsoft.com/devcontainers/base:jammy

# must be amd64 or arm64
ARG TARGETARCH

...

# K9S
RUN cd /tmp && \
    version=0.32.4 && \
    curl -L https://github.com/derailed/k9s/releases/download/v${version}/k9s_Linux_${TARGETARCH}.tar.gz | tar xz && \
    mv k9s /usr/local/bin/

...

vitalyu avatar May 09 '25 09:05 vitalyu

Instructions are in the README https://github.com/derailed/k9s?tab=readme-ov-file#running-with-docker

James-Quigley avatar May 18 '25 20:05 James-Quigley

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jun 18 '25 02:06 github-actions[bot]