Skip to content

Github action runners in non-privileged containres in k8s #2703

Answered by wherka-ama
pujan14 asked this question in FAQs
Discussion options

You must be logged in to vote

Hello Pujan,
this is a holly grail - to be able to build images and run the containers without the escalation of privileges.

To a degree that's feasible. You can build the images in rootless mode and without any extra priviledge. There are number of options here:

  • jib
  • kaniko
  • podman/buildah
  • rootlesskit
    ..
    You can read a nice summary here and also a good explanation on how it can be done with podman and jenkins on OpenShift. These would be good starters to grasp the context.

In regards to ARC, there is no so much a solution for that available out of the box I'm afraid. If you choose to run the docker in a side container, it's done in privileged mode by default. You can opt for a rootless, …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Link-
Comment options

@jmrr
Comment options

@wherka-ama
Comment options

@ALL-SPACE-Anas
Comment options

@wherka-ama
Comment options

Answer selected by Link-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQs
Labels
None yet
5 participants