Skip to main content

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-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.

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

coco_docker-0.1.3.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coco_docker-0.1.3-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file coco_docker-0.1.3.tar.gz.

File metadata

  • Download URL: coco_docker-0.1.3.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.0 CPython/3.12.8 Linux/6.12.11-100.fc40.x86_64

File hashes

Hashes for coco_docker-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5c10c62ddf372a321de0a6a7e66a0189aa8a47c3486b91cdda2edfae24c58ce8
MD5 8e5ec40743daaacc837bd59c6c8db6a4
BLAKE2b-256 0f4968eca9d7f320ef1bf6d5a828ebf543005b6812620807a5786e769c9926dc

See more details on using hashes here.

File details

Details for the file coco_docker-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: coco_docker-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.0 CPython/3.12.8 Linux/6.12.11-100.fc40.x86_64

File hashes

Hashes for coco_docker-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9432ac55035cc8474659f8bceea457c3073b95a4656d992ec31257ba6a91428b
MD5 c0d3cf4ab86ca25e1fcf80d78df1d387
BLAKE2b-256 6a2f953028108d484f27aaaaf6027be71cee0c7ab1eb4bda1caa0940884e2e4e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page