Resolve "container rootless"
- Closes #61 (closed)
- Closes #59 (closed)
- Closes #58 (closed)
- Closes #60 (closed)
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