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 😃
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.
pip install dockerr
from dockerr.runner import DockerRunner
with DockerRunner(tag, name, ports, path, dockerfile=DOCKER_FILE):
# Do something
This is an early version of the framework and it's still under development.
Deprecated - please see note above
Please checkout the samples folder for more examples.