docker-upload

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

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 -o /usr/local/bin/docku https://github.com/piotrpersona/docku/releases/download/v1.0.2/docku-darwin-amd64 && chmod +x /usr/local/bin/docku

Run

docku config.json

Docker (TBD)

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

Configuration

Provide images config

{
  "registry": "localhost:5000",
  "images": {
    "nginx": {
      "registry": "docker.io",
      "tag": "latest"
    },
    "alpine": {
      "registry": "docker.io",
      "tag": "3.9"
    }
  }
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL