Skip to content

Tranquility2/dockerr

Repository files navigation

Code style: black Imports: isort linting: pylint Checked with mypy

PyPI - Version PyPI - Python Version Coverage Status

dockerr

Description

This is a python framwork for running docker containers in order to test them. Fox example: you can run a container, test something while its still running and the framework will take care of cleaning up afterwards. It's designed to be simple and easy to use.

Installation

pip install dockerr

Usage

from dockerr.runner import DockerRunner

with DockerRunner(tag, name, ports, path, dockerfile=DOCKER_FILE):
    # Do something

Status

This is an early version of the framework and it's still under development.

Important

Making an effort to consolidate this framework cabablities into https://github.com/testcontainers/testcontainers-python

Examples

Please checkout the samples folder for more examples.