Replies: 2 comments
-
Docker-in-Docker relies on ℹ️ All pods in this project use Docker-in-Docker (or Podman-in-Podman). If that's not an option, there's a couple other options within actions-runner-controller that might work better for you:
You can also use Docker from a persistent virtual machine in rootless mode, but that means you're not using actions-runner-controller. Here's the docs on the requirements there. Learn more:
|
Beta Was this translation helpful? Give feedback.
-
Hi @some-natalie thanks a lot for your quick replay and contribution towards action runner controller . i got your contact from the latest action runnner controller release note. :) |
Beta Was this translation helpful? Give feedback.
-
Hi,
i was referring to https://github.com/some-natalie/kubernoodles/blob/main/deployments/ghes/rootless-ubuntu-focal.yml and tryign to start Docker inside runner , but our kubernetes cluster policy wont allow running container in prevailed mode .
could you pls suggest any alternative solution / option to run docker or podman with privileged: false option.
2022-09-21T16:07:20Z ERROR Reconciler error {"controller": "runner-controller", "controllerGroup": "actions.summerwind.dev", "controllerKind": "Runner", "runner": {"name":"rootless-ubuntu-focal-s79gm-nznk2","namespace":"actions-runner-system"}, "namespace": "actions-runner-system", "name": "rootless-ubuntu-focal-s79gm-nznk2", "reconcileID": "b8cc10ad-7d9a-4a2a-ab13-4bef0dda41d7", "error": "pods "rootless-ubuntu-focal-s79gm-nznk2" is forbidden: PodSecurityPolicy: unable to admit pod: [spec.containers[0].securityContext.privileged: Invalid value: true: Privileged containers are not allowed]"}
Beta Was this translation helpful? Give feedback.
All reactions