Skip to content

Resolve "container rootless"

jfriedli requested to merge 61-container-rootless into develop

Docker

Build: docker build -t mat-web-frontend .

Run: docker run -ti -p8080:8080 --security-opt no-new-privileges --security-opt seccomp=seccomp.json --read-only --tmpfs /var/www/html --tmpfs /tmp mat-web-frontend:latest

Podman

Build: podman build -t matweb-frontend .

Run: podman run -ti --security-opt=no-new-privileges --read-only -p8080:8080 --tmpfs /var/www/html --tmpfs /tmp --security-opt no-new-privileges --security-opt seccomp=seccomp.json matweb-frontend

Edited by jfriedli

Merge request reports