# Docker CLI

Docker CLI is a lightweight, containerized command-line interface for managing Docker containers on your server. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/6662/docker-cli

## Description

Docker CLI is a lightweight, containerized command-line interface for managing Docker containers on your server. It provides an isolated environment for starting, stopping, inspecting, and configuring containers and images via the Docker daemon, making it useful when the host lacks the native CLI or when you prefer a version-pinned, reproducible toolchain.

## Platform availability

Available on 0 of 10 platforms.

## Health score

75/100 (Good), based on 3 of 4 factors.
- Maintained: 100 (last commit 1 day ago)
- Popular: 76 (6,142 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)

## Links

- Docker Hub: https://hub.docker.com/r/alpinelinux/docker-cli
- GitHub: https://github.com/docker/cli

## Common questions

### How do I build the Docker CLI from source?

Use Docker and run docker buildx bake to build the CLI. Use docker buildx bake --set binary.platform=linux/arm64 to build for a specific platform.

### How do I run the Docker CLI unit tests and full test suite?

Run make -f docker.Makefile test-unit for the unit tests. Run make -f docker.Makefile test for the full test suite.

### Where can I find a compact reference for common Docker CLI commands?

The Docker CLI cheat sheet provides quick commands for working with images, containers, and Docker Hub.

---
Source: Our Local Host (https://ourlocalhost.com/app/6662/docker-cli), the self-hosted and open-source app directory.
