buildah icon indicating copy to clipboard operation
buildah copied to clipboard

Adding privileged in containerfile

Open GuilhemROLLAND opened this issue 1 year ago • 3 comments

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:

  1. Run a container with firehol with --privileged in interactive mode, and type "firehol debug" --> it's OK

  2. Write a containerfile with the line "RUN firehol debug" --> KO with "WARNING: error initializing iptables:"

  3. 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

GuilhemROLLAND avatar Sep 27 '22 14:09 GuilhemROLLAND

thanks in advance

GuilhemROLLAND avatar Sep 27 '22 14:09 GuilhemROLLAND

@flouthoc PTAL

mheon avatar Sep 27 '22 15:09 mheon

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.

rhatdan avatar Sep 27 '22 17:09 rhatdan

A friendly reminder that this issue had no activity for 30 days.

github-actions[bot] avatar Oct 28 '22 00:10 github-actions[bot]