Skip to main content

A simple python package to manage external testing of docker containers

Project description

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

PyPI - Version PyPI - Python Version Coverage Status

dockerr

[!IMPORTANT] Happy to update that I got this framework cabablities merged into testcontainers-python (Checkout the PR)
This Repo will hopefully (oneday) be reporposed into something new 😃

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.

Deprecated - please see note above

Examples

Please checkout the samples folder for more examples.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dockerr-0.2.1.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

dockerr-0.2.1-py3-none-any.whl (6.2 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