Docker Wrapper for Python
Project description
Install
pip install docker-wrapper
Usage
Use it in a with statement:
with Docker() as docker:
docker.run('command')
or as a decorator:
@Docker.wrap()
def run_command_in_container(command, docker)
docker.run(command)
Read the documentation on docker-wrapper-py.readthedocs.org for more information about how to use this.
MIT © frigg.io
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for docker_wrapper-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4c69774a3d2422d58e055577483276463a8d8f8e71b9b172e0442def6fefd3d |
|
MD5 | db83e059beb7357e1bb3b44dca52d14a |
|
BLAKE2b-256 | d808a9369f63a659a9b0ef67c615e184a448605020363ec46712aead32b81f73 |