Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/piotrpersona/docku
- Owner: piotrpersona
- License: apache-2.0
- Created: 2019-07-10T15:41:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-02T18:02:01.000Z (over 5 years ago)
- Last Synced: 2024-11-15T04:45:47.435Z (2 months ago)
- Topics: docker, docker-image, docker-registry
- Language: Go
- Size: 248 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`