Skip to main content

Awesome docker_overdose created by Diamino

Project description

docker_overdose

codecov CI

Docker-compose alternative with (too much) added functionality.

Install it from PyPI

pip install docker_overdose

Usage

from docker_overdose.containermanager import ContainerManager, ContainersManager

# Instantiate the orchestrator
containers = ContainersManager()
# Instantiate a container
container = ContainerManager('container-name',
                             image='debian:bookworm-slim',
                             run_options={"command": f"sh -c 'while true; do echo Hello World!; sleep 1; done'"},
                             net_options={"add_if": "enp0s2"},
                             autostart=True)
containers.add(container)
containers.start()
$ python -m docker_overdose
#or
$ docker_overdose

Development

Read the CONTRIBUTING.md file.

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

docker_overdose-0.2.1.tar.gz (8.6 kB view hashes)

Uploaded Source

Built Distribution

docker_overdose-0.2.1-py3-none-any.whl (8.1 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