Yong Tang
0e099055bb
Inconsistent --tmpfs behavior
...
This fix tries to address the issue raised in #22420 . When
`--tmpfs` is specified with `/tmp`, the default value is
`rw,nosuid,nodev,noexec,relatime,size=65536k`. When `--tmpfs`
is specified with `/tmp:rw`, then the value changed to
`rw,nosuid,nodev,noexec,relatime`.
The reason for such an inconsistency is because docker tries
to add `size=65536k` option only when user provides no option.
This fix tries to address this issue by always pre-progating
`size=65536k` along with `rw,nosuid,nodev,noexec,relatime`.
If user provides a different value (e.g., `size=8192k`), it
will override the `size=65536k` anyway since the combined
options will be parsed and merged to remove any duplicates.
Additional test cases have been added to cover the changes
in this fix.
This fix fixes #22420 .
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
Upstream-commit: 397a6fefadf9ac91a5c9de2447f4dea607296470
Component: engine
2016-05-26 19:28:18 -07:00
..
2016-03-18 13:38:32 -07:00
2016-05-23 19:00:47 -07:00
2016-03-18 13:38:32 -07:00
2016-05-24 21:43:45 -04:00
2016-05-25 11:50:22 -07:00
2016-04-29 16:22:26 +02:00
2016-03-18 13:38:32 -07:00
2016-03-18 13:38:32 -07:00
2016-05-06 16:08:53 -07:00
2016-04-06 12:12:20 -07:00
2016-05-06 16:08:53 -07:00
2016-04-04 15:35:55 +08:00
2016-05-24 21:31:15 +02:00
2016-04-07 15:01:23 -07:00
2016-01-08 15:06:22 -05:00
2016-05-23 16:37:12 -07:00
2016-03-16 00:05:52 +08:00
2016-05-19 20:41:37 +08:00
2016-03-28 12:24:01 -07:00
2016-05-19 20:41:37 +08:00
2016-05-23 16:37:12 -07:00
2016-05-17 13:49:05 -04:00
2016-04-06 14:11:33 -07:00
2016-05-25 17:02:50 -07:00
2016-05-24 21:31:15 +02:00
2016-03-22 15:12:33 -04:00
2016-04-06 12:12:20 -07:00
2016-05-25 13:42:07 -07:00
2016-01-08 15:06:22 -05:00
2016-03-30 17:25:49 -07:00
2016-03-30 17:25:49 -07:00
2016-05-23 16:37:12 -07:00
2016-01-08 15:06:22 -05:00
2016-05-11 09:49:51 -04:00
2016-03-17 13:34:42 -04:00
2016-05-20 17:57:29 +02:00
2016-05-23 16:37:12 -07:00
2016-05-23 11:29:50 -07:00
2016-05-26 13:09:11 +02:00
2016-05-23 16:37:12 -07:00
2016-03-27 17:23:34 -07:00
2016-02-26 15:49:09 -05:00
2016-04-06 15:21:38 -04:00
2016-02-03 10:43:01 -08:00
2016-05-11 09:49:51 -04:00
2016-02-26 15:49:09 -05:00
2016-01-17 12:14:01 +01:00
2016-05-23 19:00:47 -07:00
2016-03-18 13:38:32 -07:00
2016-05-23 16:37:12 -07:00
2016-03-30 12:59:50 -07:00
2016-04-15 12:48:01 +02:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-05-21 22:36:11 +02:00
2016-05-21 22:36:11 +02:00
2016-05-21 22:36:11 +02:00
2016-04-07 15:01:23 -07:00
2016-04-07 15:01:23 -07:00
2016-04-07 15:01:23 -07:00
2016-05-21 22:36:11 +02:00
2016-05-25 13:49:10 +02:00
2016-04-07 15:01:23 -07:00
2016-05-07 08:51:52 +08:00
2016-05-23 16:37:12 -07:00
2016-05-23 16:37:12 -07:00
2016-03-18 13:38:41 -07:00
2016-05-02 21:14:42 -07:00
2016-05-24 21:31:15 +02:00
2016-01-19 13:21:41 -05:00
2016-01-11 11:31:29 -05:00
2016-05-23 16:37:12 -07:00
2016-05-25 13:49:10 +02:00
2016-03-01 08:06:10 -08:00
2016-02-16 13:24:49 -08:00
2016-05-06 20:42:20 -04:00
2016-04-06 14:03:05 -07:00
2016-05-23 16:37:12 -07:00
2016-04-25 12:16:26 -07:00
2016-05-12 17:45:53 -07:00
2016-02-26 15:49:09 -05:00
2016-05-24 21:31:15 +02:00
2016-05-16 15:04:01 -07:00
2016-05-26 19:28:18 -07:00
2016-05-23 16:37:12 -07:00
2016-05-25 12:22:52 -07:00
2016-03-18 13:38:32 -07:00
2016-02-26 15:49:09 -05:00
2016-03-18 13:38:32 -07:00
2016-02-26 15:49:09 -05:00
2016-05-24 11:07:11 +02:00
2016-05-24 11:07:11 +02:00
2016-03-18 13:38:32 -07:00
2016-05-11 09:30:23 +01:00
2016-05-02 23:04:04 +08:00
2016-05-23 16:37:12 -07:00
2016-05-23 16:37:12 -07:00
2016-05-24 21:31:15 +02:00
2016-02-26 15:49:09 -05:00
2016-03-18 13:38:32 -07:00
2016-03-20 16:45:53 -07:00
2016-03-18 13:38:32 -07:00
2016-03-18 13:38:32 -07:00
2016-05-23 16:37:12 -07:00
2016-03-18 13:38:41 -07:00
2016-04-27 11:36:47 +08:00
2016-03-18 13:38:32 -07:00
2016-03-21 13:06:08 -07:00
2016-04-12 20:30:34 -04:00