mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
b4963c87b2
Currently, when running a container with --ipc=host, if /dev/mqueue is
a standard directory on the hos the daemon will bind mount it allowing
the container to create/modify files on the host.
This commit forces /dev/mqueue to always be of type mqueue except when
the user explicitely requested something to be bind mounted to
/dev/mqueue.
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
archive.go | ||
container.go | ||
container_unit_test.go | ||
container_unix.go | ||
container_windows.go | ||
history.go | ||
memory_store.go | ||
memory_store_test.go | ||
monitor.go | ||
state.go | ||
state_test.go | ||
state_unix.go | ||
state_windows.go | ||
store.go |