News for hackers. Stuff that matters.
Re:Docker container breakout? by mkent on Wednesday June 18, 2014 @12:37PM (#7911034)
Confirmed this works on lxc 0.7.5-3ubuntu69 (ships with Ubuntu 12.04 lts). Just change "/.dockerinit" to any file within a bind mount and run it.

To fix this you can shutdown the container, edit the config in /var/lib/lxc/<name>/config and add dac_read_search to lxc.cap.drop. Voila.

  [*] Resolving 'etc/shadow'
  [-] open_by_handle_at: Operation not permitted

There are no comments on this comment yet.