Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.27 KB

README.md

File metadata and controls

56 lines (38 loc) · 1.27 KB

docku

Build Status Go Report Card

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

docku-arch

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