Skip to content
This repository was archived by the owner on Jan 5, 2019. It is now read-only.

Latest commit

 

History

History
28 lines (19 loc) · 738 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 738 Bytes

docker-wrapper-py Build status Coverage status

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