Skip to content
/ coco Public

CoCo: Your Container Companion — A helpful CLI for Docker tasks

License

Notifications You must be signed in to change notification settings

teismar/coco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

CoCo: Your Container Companion — A helpful CLI for Docker tasks

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages