This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
Allow unprivileged containers on run_download.sh and run_install.sh #2227
Labels
Can Close?
Will close in 30 days unless there is a comment indicating why not
Allow configuration to remove the privileged flag
Description
This feature request comes from the necessity of running Docker on continuous integration and deployment environments. Most of the times, the privileged flag is not allowed to be run on this environments due to security issues within their infrastructure. I don't know the direct implications with removing this flag, I've tried to run the .sh files generated without that flag and turns out no exception gets thrown.
These flags are on these
.sh
templates:rules_docker/docker/package_managers/run_download.sh.tpl
Lines 30 to 33 in c823a69
rules_docker/docker/package_managers/run_install.sh.tpl
Lines 53 to 56 in c823a69
Describe the solution you'd like
I'd like to have some configuration for these rules to disable the privileged mode for docker run command
The text was updated successfully, but these errors were encountered: