No options to tmpfs is valid
If you run a docker run command with --tmpfs /mountpoint:noexec Or certain options that get translated into mount options, the mount command can get passed "" for mount data. So this should be valid. Signed-off-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
94d7adb3c4
commit
e2af99fc16
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ func parseOptions(options string) (int, string) {
|
|||
func ParseTmpfsOptions(options string) (int, string, error) {
|
||||
flags, data := parseOptions(options)
|
||||
validFlags := map[string]bool{
|
||||
"": true,
|
||||
"size": true,
|
||||
"mode": true,
|
||||
"uid": true,
|
||||
|
|
Loading…
Reference in a new issue