文件名称:non-root-debug-container
文件大小:1KB
文件格式:ZIP
更新时间:2024-04-29 16:05:26
Dockerfile
非根调试容器 Ubuntu容器和一些其他工具。 容器被创建为以非根用户身份运行。 容器已上传到 如果要在bash shell中使用方便的功能,可以将以下内容添加为功能 function k8s-deploy-debug { kubectl run debug --rm -it \ --image=freddeliv/rootlessubuntu:20.04 \ --overrides= ' {"spec":{"securityContext":{"runAsUser":1000,"runAsGroup":1000}}} ' \ ${ * } }
【文件预览】:
non-root-debug-container-main
----Dockerfile(346B)
----README.md(501B)