Closed
Description
Noticing that the mcad-controller image is running as root:
podman run -it --rm quay.io/project-codeflare/mcad-controller:main-v1.29.51 whoami
root
I'm proposing a PR which would create an "mcad" user.
podman run -it --rm docker.io/jimbdocker/mcad-controller:jbusche-nonroot-v1.29.52 whoami
mcad
Official guidance is the following:
"It is a good practice to run the container as a non-root user, if possible. Though user namespace mapping is now available, if a user is already defined in the container image, the container is run as that user by default and specific user namespace remapping is not required"
Metadata
Metadata
Assignees
Labels
No labels