From: Bruno Thomsen <bth@kamstrup.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] ptxdist: support podman
Date: Tue, 15 Oct 2019 13:35:20 +0000 [thread overview]
Message-ID: <HE1PR04MB3130D438AF59679BFE2CAB6EDC930@HE1PR04MB3130.eurprd04.prod.outlook.com> (raw)
Hi
I am currently migrating our containerized CI pipelines from docker (moby) to
podman as it's more secure[1]. But ptxdist refuse to run as "root", but in reality
it's running with less privileges then the user that started it.
ptxdist: error: refusing to run PTXdist as root
Is it possible to do an extra podman check?
I found "/run/.containerenv" documented as an official flag to detect that a program
is in a container.
Bruno
[1] https://cloudnweb.dev/2019/06/replacing-docker-with-podman-power-of-podman/
[2] https://github.com/containers/libpod/blob/master/docs/podman-run.1.md
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2019-10-15 13:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-15 13:35 Bruno Thomsen [this message]
2019-10-15 23:00 ` Andreas Friesen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=HE1PR04MB3130D438AF59679BFE2CAB6EDC930@HE1PR04MB3130.eurprd04.prod.outlook.com \
--to=bth@kamstrup.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox