Skip to content

piotrpersona/docku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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