Skip to main content

dockpy-cli - Docker CLI tool with async operations

Project description

dockpy-cli

Docker CLI tool with async operations built on the dockpy-sdk.

Installation

pip install dockpy-cli

Or with pipx (recommended for CLI usage):

pipx install dockpy-cli

Quick Start

# Verify installation
dp --help

# Container operations
dp container list
dp container create nginx:latest --name my-web -d

# Image operations
dp image list
dp image pull python:3.10

Commands

Containers

dp container list              # List all containers
dp container create IMAGE      # Create a new container
dp container start CONTAINER   # Start a container
dp container stop CONTAINER    # Stop a container
dp container logs CONTAINER    # View container logs
dp container remove CONTAINER  # Remove a container

Images

dp image list                  # List all images
dp image pull IMAGE            # Pull an image
dp image push IMAGE            # Push an image
dp image remove IMAGE          # Remove an image

Output Formats

Supports multiple output formats:

  • Table (default) - Formatted ASCII tables
  • JSON - Machine-readable JSON output
  • YAML - YAML formatted output

Example:

dp container list --format json
dp image list --format yaml

Documentation

See the main repository for full documentation.

License

Apache License 2.0 - See LICENSE file for details.

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

dockpy_cli-0.0.1.dev1.tar.gz (36.1 kB view details)

Uploaded Source

Built Distribution

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

dockpy_cli-0.0.1.dev1-py3-none-any.whl (55.0 kB view details)

Uploaded Python 3

File details

Details for the file dockpy_cli-0.0.1.dev1.tar.gz.

File metadata

  • Download URL: dockpy_cli-0.0.1.dev1.tar.gz
  • Upload date:
  • Size: 36.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for dockpy_cli-0.0.1.dev1.tar.gz
Algorithm Hash digest
SHA256 cbd763f6c6966f60970e6933be644f7616c24147f1c8b78ec197a4ad316b290c
MD5 a24f9fffa6253e7cea939094ada7fc4b
BLAKE2b-256 9e18530c8b5b059dda47e5a9560758ae4faa51faf4f82c3b9d2b8e48cd2ef030

See more details on using hashes here.

File details

Details for the file dockpy_cli-0.0.1.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for dockpy_cli-0.0.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 6879a36ecf02c5f4ee62ca91916dada124815226926feb7d1526c082138a40ad
MD5 52c686a5726fd0d9e7b2d250cf7ac247
BLAKE2b-256 16cf617a3bc1d7e2c64ed89c44f548494133485eed80a3744e40d3ad6ffd40c7

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