Running buildah in a EKS Fargate pod #3606
Replies: 2 comments 2 replies
-
How were you able to build container images with Docker in this environment before? |
Beta Was this translation helpful? Give feedback.
-
Building container images requires one of three setups. If your environment will not give you one of these then you will not able to build within it. |
Beta Was this translation helpful? Give feedback.
-
I am trying to setup a CI/CD pipeline running on AWS EKS Fargate.
Currently we are using docker to build container images with the pods running on EC2 nodes in privileged mode.
I was hoping I could use buildah (or podman) to build container images on Fargate.
But I run into a problem:
Using https://www.redhat.com/sysadmin/podman-inside-kubernetes as reference I see we have run the pods either in privileged mode or we have to add a daemonset for the fuse-overlayfs or we have to add security capabilities.
neither of these options seem to be possible on AWS Fargate, we can't run pods in privileged mode. We are alse not able to run a daemonset with this fuse driver. And adding security capabilities also isn't allowed.
Does this mean there is no way we can use buildah on AWS Fargate?
Beta Was this translation helpful? Give feedback.
All reactions