Public Repository

Last pushed: 2 years ago
Short Description
This if for registry which version is higher than 2
Full Description

note : you can access the ui one or two minutes after your container started.

If we access the registry with 'http'
docker run -d -p 8080:8080 \
-e ENV_DOCKER_REGISTRY_HOST={http://youregistry.com} \
-e ENV_DOCKER_REGISTRY_PORT={your regisry port } \
-e ENV_DOCKER_REGISTRY_USERNAME={username} \
-e ENV_DOCKER_REGISTRY_USER_PASSWORD={password} \
--name registryui lenovopeng/registryui:1.0

If we access the registry with 'https'
docker run -d -p 8080:8080 \
-e ENV_DOCKER_REGISTRY_HOST={https://youregistry.com} \
-e ENV_DOCKER_REGISTRY_PORT={your regisry port } \
-e ENV_DOCKER_REGISTRY_USERNAME={username} \
-e ENV_DOCKER_REGISTRY_USER_PASSWORD={password} \
--name registryui lenovopeng/registryui:1.0

Here is an example for http:
docker run -d -p 9000:8080 \
-e ENV_DOCKER_REGISTRY_HOST=http://10.120.24.59 \
-e ENV_DOCKER_REGISTRY_PORT=3000 \
-e ENV_DOCKER_REGISTRY_USERNAME=leno \
-e ENV_DOCKER_REGISTRY_USER_PASSWORD=dd \
--name registryui lenovopeng/registryui:1.0

Here is an example for https:
docker run -d -p 9000:8080 \
-e ENV_DOCKER_REGISTRY_HOST=https://dockerhub.lefile.cn \
-e ENV_DOCKER_REGISTRY_PORT=443 \
-e ENV_DOCKER_REGISTRY_USERNAME=lenovo \
-e ENV_DOCKER_REGISTRY_USER_PASSWORD=admin \
--name registryui lenovopeng/registryui:1.0

Docker Pull Command
Owner
lenovopeng