use custom pod template. when come into pod as root :can't connect to unix:///var/run/docker.sock in kubernetes. however our project relay a non-root user.

A special situation that : I can use docker pull when come into pods as root (set

securityContext:
fsGroup: 1000
runAsUser: 0),

but our CI project depond on non-root user to build.How to solve the yaml?thanks

Please sign in to leave a comment.