Skip to content

Conversation

@aanand
Copy link
Contributor

@aanand aanand commented Mar 16, 2016

Sits on / replaces #939.

  • Rebased on master
  • Addressed @dnephin's comments about the error messages
  • Reworded documentation a little
  • Added integration test

janLo and others added 4 commits March 16, 2016 14:47
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>
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
@aanand aanand force-pushed the janLo-tmpfs-support branch from 5c8e68b to 496767e Compare March 16, 2016 15:07

self.tmp_containers.append(container['Id'])
config = self.client.inspect_container(container)
assert config['HostConfig']['Tmpfs'] == tmpfs
Copy link
Contributor

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.

@dnephin
Copy link
Contributor

dnephin commented Mar 16, 2016

Code looks good, but the test is failing for some reason

@aanand
Copy link
Contributor Author

aanand commented Mar 16, 2016

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>
@aanand aanand force-pushed the janLo-tmpfs-support branch 2 times, most recently from 72face4 to 6cc6474 Compare March 16, 2016 17:37
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
@aanand aanand force-pushed the janLo-tmpfs-support branch from 6cc6474 to 7417bc2 Compare March 16, 2016 17:37
@@ -0,0 +1,33 @@
# Using tmpfs
Copy link
Contributor

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

@shin-
Copy link
Contributor

shin- commented Mar 16, 2016

Minor docs comment, apart from that, LGTM.

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
@aanand
Copy link
Contributor Author

aanand commented Mar 16, 2016

Updated mkdocs.yml

@dnephin
Copy link
Contributor

dnephin commented Mar 17, 2016

LGTM

dnephin added a commit that referenced this pull request Mar 17, 2016
@dnephin dnephin merged commit 8c4546f into docker:master Mar 17, 2016
@shin- shin- mentioned this pull request Mar 17, 2016
@dnephin dnephin added this to the 1.8.0 milestone Mar 21, 2016
@dnephin dnephin mentioned this pull request Mar 21, 2016
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