https://github.com/tbxark/registry-sync
Sync images between docker registries.
https://github.com/tbxark/registry-sync
docker docker-image docker-registry sync
Last synced: 4 months ago
JSON representation
Sync images between docker registries.
- Host: GitHub
- URL: https://github.com/tbxark/registry-sync
- Owner: TBXark
- License: mit
- Created: 2024-09-13T13:31:28.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-23T09:16:53.000Z (9 months ago)
- Last Synced: 2025-06-15T04:07:05.624Z (4 months ago)
- Topics: docker, docker-image, docker-registry, sync
- Language: Go
- Homepage:
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# registry-sync
Sync images between docker registries.## Usage
### CLI
```sh
./registry-sync -config config.json
```### Docker
```sh
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
```json
{
"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](./LICENSE) file for more details.