Skip to content

No options to tmpfs is valid - #18855

Merged
LK4D4 merged 1 commit into
moby:masterfrom
rhatdan:volume-tmpfs
Dec 22, 2015
Merged

LK4D4 merged 1 commit into
moby:masterfrom
rhatdan:volume-tmpfs

Conversation

@rhatdan

@rhatdan rhatdan commented Dec 22, 2015

Copy link
Copy Markdown
Contributor

Signed-off-by: Dan Walsh [email protected]

@rhatdan

rhatdan commented Dec 22, 2015

Copy link
Copy Markdown
Contributor Author

This fixes at least part of #18853

@LK4D4

LK4D4 commented Dec 22, 2015

Copy link
Copy Markdown
Contributor

@rhatdan Can we have test for this?

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 <[email protected]>
@rhatdan

rhatdan commented Dec 22, 2015

Copy link
Copy Markdown
Contributor Author

Added a test for

docker run --tmpfs /run:noexec ...

Which was causing issues.

@LK4D4

LK4D4 commented Dec 22, 2015

Copy link
Copy Markdown
Contributor

@rhatdan Thanks

@calavera

Copy link
Copy Markdown
Contributor

LGTM

1 similar comment
@LK4D4

LK4D4 commented Dec 22, 2015

Copy link
Copy Markdown
Contributor

LGTM

LK4D4 added a commit that referenced this pull request Dec 22, 2015
@LK4D4
LK4D4 merged commit 9c89e83 into moby:master Dec 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants