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 Distribution
docker-wrapper-0.3.0.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for docker_wrapper-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f98ed3fbc0161e878823332b154e82d4fdc4f5d206760c0497fbd81d75fc7c0 |
|
MD5 | ecff7ee651acb2e94edce4eb44b2c62a |
|
BLAKE2b-256 | 1806c58ed80690e3262f4192df8991bca9c3a73a8340f7aaf75a17190b122802 |