title: Disable AppArmor for Docker for ptrace_scope
body: <p>Is it possible to disable AppArmor for a particular Docker container? I want to make ptrace accessible so I can attach gdb to a running process but run into the following issue when I want to change the setting:</p>
  
  <pre><code>root@fbf728150308:/gopath# echo 0 &gt; /proc/sys/kernel/yama/ptrace_scope
  bash: /proc/sys/kernel/yama/ptrace_scope: Read-only file system
  </code></pre>