CoCo: Your Container Companion
CoCo is a simple, open-source CLI tool that helps you manage Docker Compose tasks with ease. Whether you need to extract Docker image names from a Compose file or pull Docker images concurrently while viewing live status updates, CoCo has you covered.
Features
-
Extract Images:
Parse a Docker Compose file (YAML) to extract the Docker image names from your services and save them to a file. -
Concurrent Image Pulls:
Pull Docker images concurrently with a live, updating overview.
Installation
PyPI
pip install coco-docker
From Source
Prerequisites:
- Python 3.12 or higher
- Poetry
git clone https://github.com/teismar/coco
cd coco
Install the dependencies:
poetry install
Install the package:
poetry build
pipx install dist/coco_cli-0.1.0-py3-none-any.whl
Usage
Extract Images
The extract-images command extracts Docker image names from a Docker Compose file and saves them to a file. This also supports nested Compose files, so using the include directive is no problem.
coco extract docker-compose.yml images.txt
Pull Images
The pull-images command pulls Docker images concurrently and displays a live status overview. The images to pull are read from a file, which can be generated using the extract-images command.
coco pull-images images.txt
Contributing
Contributions are welcome! Please feel free to open issues or pull requests if you have suggestions or improvements.
Metadata
Release files for coco-docker 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| coco_docker-0.1.5.tar.gz | 6.2 kB | Without provenance | Details for coco_docker-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| coco_docker-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for coco_docker-0.1.5-py3-none-any.whl |
Total release size: 13.5 kB
Release files / coco_docker-0.1.5.tar.gz
| Download URL | coco_docker-0.1.5.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73fb09a7e5c773bb43b010ca0b00e947c4088ecd92b7976577e98e5fad315b56
|
|
BLAKE2b-256 checksum How to use checksums |
0aa5254507454f094983d3cf0d01555358a1ff20490ffbdf285f6a37e99d3e67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.0 CPython/3.12.8 Linux/6.12.11-100.fc40.x86_64
|
Release files / coco_docker-0.1.5-py3-none-any.whl
| Download URL | coco_docker-0.1.5-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
424258e5d330e8db9afee55e4f0be65d7c785400d0c0f5d278228cbbc44a5ed0
|
|
BLAKE2b-256 checksum How to use checksums |
c51b241705e89e5b11d244274e3d1a074ae09560563f0a69d2ce75fb14bd0d7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.0 CPython/3.12.8 Linux/6.12.11-100.fc40.x86_64
|
Security for coco-docker 0.1.5
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.