The "registry:2" image with openconnect as proxy.
10K+
REPO: github.com/alisinabh/registry-openconnect
Docker registry with openconnect configured.
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 registry-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-openconnect