repositorypackage
0.0.0-20230217084904-26224931a39d
Repository: https://github.com/mheers/k3droot.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
k3droot
A simple tool to exec into pods in a k3d cluster as root
Based on this gist.
Dependencies
- docker
- k3d
Installation
Binary
go install github.com/mheers/k3droot@latest
Docker
docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -v $HOME/.kube:/root/.kube/:ro --network host mheers/k3droot:latest
TODO
- remove dependency of
docker exec
- add support for containers that run a from scratch image or do not have a shell (
sh
) - make readOnlyRootFilesystem writeable