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.5.0.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for docker_wrapper-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca19c34af8cd08ef2b10fe1b9c1a66066d8bfbbb616c97a2bab559a5e64b3306 |
|
MD5 | 4cdcbd688676573748baff7790554110 |
|
BLAKE2b-256 | ac75e0284cdcc38d84a09930a32cc340cd157cab923731de5489eb54d34f11bf |