K8s Lens app inside a container (note the requirements to properly run this)
286
Run K8s Lens in a container
Make sure .aws and .kube are 'group / other' readable Run as follows:
docker run -d \
-v /etc/localtime:/etc/localtime:ro \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e "DISPLAY=unix${DISPLAY}" \
-v "${HOME}/.aws:/home/lens/.aws:ro" \
-v "${HOME}/.kube:/home/lens/.kube:ro" \
-v /dev/shm:/dev/shm \
-v /etc/hosts:/etc/hosts \
--net host \
--device /dev/snd \
--device /dev/dri \
--device /dev/video0 \
--group-add audio \
--group-add video \
--security-opt "seccomp=electron.json" \
--name lens \
miel/lens
Content type
Image
Digest
sha256:a5286a09e…
Size
675.8 MB
Last updated
over 3 years ago
docker pull miel/lens