Set security_opt to seccomp:unconfined in docker-compose.yml (#1116)

pull/1114/head
Gulshan Singh 3 years ago committed by GitHub
parent 301a0c1502
commit b32c5e052e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,10 +2,10 @@
# #
# Build as: docker build -t pwndbg . # Build as: docker build -t pwndbg .
# #
# For testing use: docker run --rm -it --cap-add=SYS_PTRACE pwndbg bash # For testing use: docker run --rm -it --cap-add=SYS_PTRACE --security-opt seccomp=unconfined pwndbg bash
# #
# For development, mount the directory so the host changes are reflected into container: # For development, mount the directory so the host changes are reflected into container:
# docker run -it --cap-add=SYS_PTRACE -v `pwd`:/pwndbg pwndbg bash # docker run -it --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v `pwd`:/pwndbg pwndbg bash
# #
FROM ubuntu:20.04 FROM ubuntu:20.04

@ -5,5 +5,7 @@ services:
volumes: volumes:
- .:/pwndbg - .:/pwndbg
platform: linux/amd64 platform: linux/amd64
security_opt:
- seccomp:unconfined
cap_add: cap_add:
- SYS_PTRACE - SYS_PTRACE

Loading…
Cancel
Save