1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# docker-compose.yml demonstrating security issues version: "3.8" services: app: build: . # DK-001: Privileged container privileged: true cap_add: - SYS_ADMIN ports: - "3000:3000" # DK-002: Running as root user: root