Skip to content
PolarBearEsPublic

About

A resumable OCI image puller written in Rust.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

97 Commits

Folders and files

Repository files navigation

pocker

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.

What pocker does

  • 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

Install the latest prebuilt binary:

curl -fsSL https://github.com/PolarBearEs/pocker/releases/latest/download/install.sh | sh

Install 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 sh

Build from source:

cargo install --path .

Quick Start

Pull an image into Docker:

pocker pull alpine:latest

Pull the images referenced by a Compose project:

pocker compose pull

Enable optional Compose services with the same profile behavior as Docker Compose:

pocker compose --profile tools pull

Documentation

About

A resumable OCI image puller written in Rust.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages