pocker pulls OCI container images from registries with a local, resumable cache.
It is built for slow, flaky, or repeated pulls where downloading the same layer
again is wasted time. By default, pocker pull downloads the selected image
layers, stores them in pocker's cache, packages the image, and imports it into
Docker.
- Resumes interrupted image layer downloads.
- Reuses cached layers across future pulls.
- Pulls images referenced by Compose projects.
- Serves the local cache as an OCI registry-compatible cache.
- Talks to Docker through its API; the Docker CLI and Docker Compose CLI are not required.
Install the latest prebuilt binary:
curl -fsSL https://github.com/PolarBearEs/pocker/releases/latest/download/install.sh | shInstall a specific release or install somewhere else:
curl -fsSL https://github.com/PolarBearEs/pocker/releases/download/v0.2.6/install.sh | \
POCKER_VERSION=v0.2.6 POCKER_INSTALL_DIR=/usr/local/bin shBuild from source:
cargo install --path .Pull an image into Docker:
pocker pull alpine:latestPull the images referenced by a Compose project:
pocker compose pullEnable optional Compose services with the same profile behavior as Docker Compose:
pocker compose --profile tools pull