Awesome docker_overdose created by Diamino
Project description
docker_overdose
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file docker_overdose-0.2.1.tar.gz
.
File metadata
- Download URL: docker_overdose-0.2.1.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c95aef2cd005060fb1e745c5a876e0db9a502988dd713a4c33e09a8871d9ac59 |
|
MD5 | 84946dbfd3baa73d49650da8ce211445 |
|
BLAKE2b-256 | 70007024b2f5b38442df8ec8dcfa75107698c0e671c5ca10b2605b072a5ff3a9 |
File details
Details for the file docker_overdose-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: docker_overdose-0.2.1-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d22a8a5435d0337e9b40bd7aa76d59acac4327b6f865c882eb8bd4c43b3783e |
|
MD5 | 0ce14b5ecf07d78f8970b421302b3781 |
|
BLAKE2b-256 | 2d93fd6866774e04cc27598f22a6e50005d721729fa903dfd927dbcc81cff7f6 |