Skip to content

higumachan/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

Packages

No packages published

Languages

  • Python 100.0%