Add capabilities for gdb to work

Issue #39 resolved
Jack Hale created an issue

Currently the Docker container is heavily sandboxed and gdb won't run.

'Runtime privilege and Linux capabilities'

https://docs.docker.com/engine/reference/run/

Do enough --cap-add to get it working.

Comments (2)

  1. Jack Hale reporter
    #!
    --security-opt=seccomp=unconfined --cap-add=SYS_PTRACE
    

    First option less than ideal security wise but I guess people aren't running the debug version in the cloud.

  2. Log in to comment