CoCo: Your Container Companion — A helpful CLI for Docker tasks
Project description
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-cli
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coco_docker-0.1.0.tar.gz.
File metadata
- Download URL: coco_docker-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.12.8 Linux/6.12.11-100.fc40.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ca4726b7ed6098070e146df0bfe342defa8e153b0c0ec0aa1dc487f9715231a
|
|
| MD5 |
d6fb209a2026584665954057cd3b595c
|
|
| BLAKE2b-256 |
ca9602b52fb6bca0684137d8ae173bf0a596c5cc551fc4db7b63f2157d5fdc27
|
File details
Details for the file coco_docker-0.1.0-py3-none-any.whl.
File metadata
- Download URL: coco_docker-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.12.8 Linux/6.12.11-100.fc40.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f343fd1c86a8e4efcd629c104ec043011576f71e2b0d014599d929600ff68d81
|
|
| MD5 |
5917e64f214072e1cf6051e8535d39ad
|
|
| BLAKE2b-256 |
09a93e59e0549da60cb76d9459a230a967e157184a8adf49f43f17c9cc11032b
|