-
Notifications
You must be signed in to change notification settings - Fork 1.7k
tmpfs support #994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tmpfs support #994
Conversation
This adds support for the Tmpfs option introduced in Docker 1.10. See: moby/moby#13587 Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
0ef40d7 to
5c8e68b
Compare
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
5c8e68b to
496767e
Compare
|
|
||
| self.tmp_containers.append(container['Id']) | ||
| config = self.client.inspect_container(container) | ||
| assert config['HostConfig']['Tmpfs'] == tmpfs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is failing with a KeyError for some reason, I'm not sure why, it seems to be correct to me.
|
Code looks good, but the test is failing for some reason |
|
Ah, it's because of the Engine version (1.9.0). I'll decorate the test. |
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
72face4 to
6cc6474
Compare
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
6cc6474 to
7417bc2
Compare
| @@ -0,0 +1,33 @@ | |||
| # Using tmpfs | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file needs to be indexed in mkdocs.yml
|
Minor docs comment, apart from that, LGTM. |
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
Updated |
|
LGTM |
Sits on / replaces #939.