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

frigg/docker-wrapper-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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