docku

Upload docker images

APACHE-2.0 License

Stars
4
Committers
1

docku

Upload images to remote registry at the speed of light ⚡️

Installation

Download latest release from: https://github.com/piotrpersona/docku/releases

curl -fsSL -o /usr/local/bin/docku https://github.com/piotrpersona/docku/releases/download/<RELEASE>/docku-<OS>-<ARCH> && chmod +x /usr/local/bin/docku

e.g.:

curl -fsSL -o /usr/local/bin/docku https://github.com/piotrpersona/docku/releases/download/1.1.0/docku-darwin-amd64 && chmod +x /usr/local/bin/docku

Run

Standalone

docku config.json

Docker

docker run \
    --volume /var/run/docker.sock:/var/run/docker.sock \
    --volume "${config}:/config.yaml" \
    --network host \
    piotrpersona/docku:latest config.yaml "${@}"

Configuration

Provide images config

---
registry: localhost:5000
images:
  - nginx:latest
  - docker.io/alpine:3.9

Supported extensions: .json .yaml .yml