registry-sync

command module
v0.0.0-...-d6cdb8f Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: MIT Imports: 19 Imported by: 0

README

registry-sync

Sync images between docker registries.

Usage

CLI
./registry-sync -config config.json
Docker
docker run -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd)/config.json:/config.json ghcr.io/tbxark/registry-sync:latest
docker run -v /var/run/docker.sock:/var/run/docker.sock --name registry-sync ghcr.io/tbxark/registry-sync:latest -config https://remote/config.json

Configuration

{
    "images": [
        {
            "source": "source-registry.com/image:tag",
            "target": "target-registry.com/image:tag"
        }
    ],
    "duration": 3600,
    "auths": {
        "ghcr.io": {
          "username": "user",
          "password": "password"
        },
        "docker.io": {
          "auth": "base64({\"username\":\"user\",\"password\":\"password\"})"
        }
    }
}

License

registry-sync is licensed under the MIT License. See the LICENSE file for more details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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