Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevoree/docker-image-registry-replica
Container that retrieve the current content of Kevoree Registry and push it to a local registry replica
https://github.com/kevoree/docker-image-registry-replica
Last synced: about 2 months ago
JSON representation
Container that retrieve the current content of Kevoree Registry and push it to a local registry replica
- Host: GitHub
- URL: https://github.com/kevoree/docker-image-registry-replica
- Owner: kevoree
- License: lgpl-3.0
- Created: 2014-10-10T15:34:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-28T08:52:00.000Z (over 8 years ago)
- Last Synced: 2024-04-10T22:30:16.461Z (10 months ago)
- Language: Shell
- Size: 5.04 MB
- Stars: 0
- Watchers: 11
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## registry-replica
### Get image
```sh
docker pull kevoree/registry-replica
```
### Usage
```sh
docker run -it -p 8080:8080 kevoree/registry-replica
```or
```sh
docker run -it -p 8080:8080 -e CURL_REGISTRY=false kevoree/registry-replica # skip the replication
```### How does it work ?
This image is based on `dockerfile/java:oracle-java8` and contains a compiled Jar-file of `[email protected]`
When started, a `cURL` command retrieves the current content of the official [Kevoree registry](http://registry.kevoree.org),
stored it in `/tmp/kevoree-registry.json` and start an instance of the registry locally using `/opt/kevoree/kevoree-registry.jar`.
Once started (sleep 3), another `cURL` command is thrown to push `/tmp/kevoree-registry.json` to the local registry, making it a "replica"