Docker registry as a pull throw cache with openconnect configured.
324
REPO: github.com/alisinabh/registry-cache-openconnect
Docker registry as a pull throw cache with openconnect configured.
This image is from alisinabh/registry-openconnect and configured as a pull throw cache.
When using the registry as a pull throw cache, in some environments it is not possible to access docker hub without a proxy and other solutions are a bit more expensive.
For example, to have a safer world docker chose to ban Iran from accessing docker hub so we cannot make bombs with container images. In order to use it we have to create such images.
Just add the following environment variables:
Replace the config from the :
docker run -e "OC_HOST"="[host-here]" -e "OC_USER"="[user-here]" -e "OC_PASSWORD"="[password-here]" -e "OC_MAXDUR"="30" --privileged -p 5000:5000 alisinabh/registry-cache-openconnect
Because this image uses openconnect and needs access to devs, it only works with --privileged switch (or allowPrivilegeEscalation: true in kubernetes pod securityContext)
Content type
Image
Digest
Size
26.9 MB
Last updated
almost 8 years ago
docker pull alisinabh/registry-cache-openconnect