Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/piotrpersona/docku

Upload docker images
https://github.com/piotrpersona/docku

docker docker-image docker-registry

Last synced: 29 days ago
JSON representation

Upload docker images

Awesome Lists containing this project

README

        

# docku

[![Build Status](https://travis-ci.org/piotrpersona/docku.svg?branch=master)](https://travis-ci.org/piotrpersona/docku)
[![Go Report Card](https://goreportcard.com/badge/github.com/piotrpersona/docku)](https://goreportcard.com/report/github.com/piotrpersona/docku)

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

![docku-arch](https://raw.githubusercontent.com/piotrpersona/docku/master/svg/docku-arch.svg?sanitize=true)

## Installation

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

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

e.g.:

```bash
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

```bash
docku config.json
```

Docker

```bash
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

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

```

Supported extensions: `.json .yaml .yml`