dockerctl
Python Script to steer docker-compose-yaml's from everywhere.
https://pypi.org/project/dockerctl/
Installation:
Installation from PyPi: pip install dockerctl
Manual installation: Type pip install . in the project's directory
Be aware that you have to call python3 pip, so if you're on an distro that defaults to py2, use python3 -m pip
This program is released under the GPLv3. See "LICENSE" for further information.
This program is going to have the first release soon, please report bugs and propose enhancements.
usage: dockerctl [-h] [-v] [-l] [--list] [--path PATH] COMMAND COMPOSE_NAME [extra ARGS passed to docker-compose]
start: Start the composition
stop: Stop the composition
restart: Restart it.
ps: Show processes of services in composition.
up: Calls docker-compose up -d, composition runs as daemon afterwards.
down: Calls docker-compose down, composition gets stopped and deleted.
kill: Kill the whole composition, if you don't pass extra args.
rm: Removes all volumes created by the compose yaml.
top: Get information about the processes in the services.
logs: Get the logs of the whole composition. Pass -f to get ongoing information.
images: Shows images used by the services in the composition.
port: Shows the port used and mapped by the composition.
pull: Pull images needed by the composition.
push: Push built images of the composition.
pause: Pause all services in the composition.
unpause: Unpause them.
add: Links the current dir to a folder with the compose_name under /etc/docker.
Use [--path] to symlink another path than curdir.
remove: Removes composition folder or link under /etc/docker
exec: Exec something in a service of a container. [ARGS] can optionally be used to write the command.
edit: Edit the docker-compose.yml. Uses the EDITOR env var.
show: Shows the docker-compose.yml in less.
create: Create dir with compos_name under /etc/docker
update: Runs pull and up in one command to update a composition.
DISCLAIMER: Almost everything in the diff between version 1.1 and 1.2 has been vibe-coded to try out its possibilities.
Metadata
Release files for dockerctl 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dockerctl-1.2-py3-none-any.whl | Python 3 | none | any | Details for dockerctl-1.2-py3-none-any.whl |
Release files / dockerctl-1.2-py3-none-any.whl
| Download URL | dockerctl-1.2-py3-none-any.whl |
|---|---|
| Size | 20.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f478296fd6306c7d09fc338a3ce1ecc368d4aa7df74598f349be9089ddbd2d32
|
|
BLAKE2b-256 checksum How to use checksums |
f8f8a0a34114ad6380d21ce2823f69d1982c63ef8fb873f85104499711df3cd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for dockerctl 1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.