1
0
mirror of https://github.com/docker/cli.git synced 2026-01-19 21:41:31 +03:00
Files
cli/components/engine/daemon
Kir Kolyshkin f9f5db27c1 Fix user mount /dev/shm size
Commit 7120976d74195 ("Implement none, private, and shareable ipc
modes") introduces a bug: if a user-specified mount for /dev/shm
is provided, its size is overriden by value of ShmSize.

A reproducer is simple:

 docker run --rm
	--mount type=tmpfs,dst=/dev/shm,tmpfs-size=100K \
	alpine df /dev/shm

This commit is an attempt to fix the bug, as well as optimize things
a but and make the code easier to read.

https://github.com/moby/moby/issues/35271

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Upstream-commit: 31d30a985d99a0eef92116a22159727f5c332784
Component: engine
2017-11-12 21:42:59 -08:00
..
2017-09-08 18:23:21 -04:00
2017-10-24 15:39:34 -04:00
2017-10-18 10:26:58 +08:00
2017-09-06 12:05:19 -04:00
2017-07-31 13:16:46 -07:00
2017-10-24 15:39:34 -04:00
2017-05-16 14:25:32 -07:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2017-10-19 11:09:29 -07:00
2017-07-31 13:16:46 -07:00
2017-08-21 18:18:50 -04:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-11-03 01:46:58 +01:00
2017-08-24 15:08:31 -04:00
2017-10-09 13:47:28 -07:00
2017-07-18 12:09:26 +08:00
2017-07-31 13:16:46 -07:00
2017-09-12 12:09:59 -04:00
2017-10-24 15:39:34 -04:00
2017-11-12 21:42:59 -08:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2017-05-16 11:30:06 -07:00
2017-07-31 13:16:46 -07:00
2017-10-24 15:39:34 -04:00
2017-09-07 09:44:08 +08:00
2017-09-06 12:05:19 -04:00
2017-09-06 12:05:19 -04:00
2017-07-03 13:13:09 -07:00
2017-05-16 15:11:39 -07:00
2017-06-07 11:45:33 -04:00