Support unprivileged containers and remembering config options
Running the containers in privileged mode cause the containerized systemd to overthrow my host systemd. My X session and everything else is thus abruptly killed and I am shown with a login prompt for jenkins-rel!
I thus need to run the container unprivileged, which works fine when using Podman 3.0.1 instead of Docker.
This merge request is two fold:
- add an
--unprivileged
option toscap3_dev.sh
- support sourcing
scap3_dev.env
which can then be used to always set unprivileged mode. This locally guard against invoking the script without the option.