docku
Upload images to remote registry at the speed of light ⚡️
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"
}
}
}