Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 842 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 842 Bytes

Docker Image Mirror

Build Status

simple bash script to copy often used docker images to our registry to prevent a single point of failure ;)

Installation

You can easily install the Script with make

git clone https://github.com/0x46616c6b/docker-image-mirror.git
cd docker-image-mirror
make install
docker-image-mirror -h

Ubuntu/Debian

wget https://github.com/0x46616c6b/docker-image-mirror/releases/download/1.0.0/docker-image-mirror_amd64.deb
sudo dpkg -i docker-image-mirror_amd64.deb

Usage

# mirror multiple images
docker-image-mirror -r yourregistry.com -i "ubuntu redis"

# only one tag
docker-image-mirror -r yourregistry.com -i "redis" -t 3