buildah
buildah copied to clipboard
Adding privileged in containerfile
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Need privileged flag to run "firehol debug", but cannot set it using a containerfile
Steps to reproduce the issue:
-
Run a container with firehol with --privileged in interactive mode, and type "firehol debug" --> it's OK
-
Write a containerfile with the line "RUN firehol debug" --> KO with "WARNING: error initializing iptables:"
-
Run a container with firehol without --privileged in interactive mode, and type "firehol debug" --> it's KO again
Describe the results you expected: Just wanna add privileged flag in my containerfile...
Output of podman version
:
Version: 3.4.4
API Version: 3.4.4
Go Version: go1.17.3
Built: Thu Jan 1 00:00:00 1970
OS/Arch: linux/amd64
Package info (e.g. output of rpm -q podman
or apt list podman
):
podman/jammy,now 3.4.4+ds1-1ubuntu1 amd64 [installed]
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
N/A
thanks in advance
@flouthoc PTAL
PR: https://github.com/openshift/imagebuilder/pull/237 was the first step to allow this. In the Docker/Buildkit world this is the --insecure flag.
A friendly reminder that this issue had no activity for 30 days.