Use the host's PID namespace for the toolbox container

It's common practice to track down a process while developing. This
could be a process that's repeatedly crashing, or something that's
misbehaving by using up too many resources. Being able to seamlessly
look at what's happening on the host makes for a better developer
experience.

The toolbox doesn't intend to provide a segregated security domains,
so this is fine.
This commit is contained in:
Debarshi Ray 2019-02-15 19:44:55 +01:00
parent e1898c0cc6
commit 67522f0ad7

View file

@ -343,6 +343,7 @@ create()
--interactive \
--name $toolbox_container \
--network host \
--pid host \
--privileged \
--security-opt label=disable \
--tmpfs /dev/shm:size=$tmpfs_size \