Skip to content
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

Support inspecting files in the container #79

Open
JayH5 opened this issue Oct 13, 2018 · 0 comments
Open

Support inspecting files in the container #79

JayH5 opened this issue Oct 13, 2018 · 0 comments

Comments

@JayH5
Copy link
Contributor

JayH5 commented Oct 13, 2018

Google's Container Structure Tests support this. There is a get_archive() call on the Container model that could be used: https://docker-py.readthedocs.io/en/stable/containers.html#docker.models.containers.Container.get_archive

This may be a matter of writing a testtools matcher that can assert things like file contents and metadata when given a stream to a tarball.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant