Skip to main content

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


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

docker_wrapper-2.0.0-py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page