This is simple project to browse and manage the private docker image registry
Prerequisite
Install Node.js http://nodejs.org/
Install Redis http://redis.io/
Setup
git clone https://github.com/denverdino/docker-registry-console.git
npm install bower -g
cd docker-registry-console/
npm install
bower install
Config
Update the config.json according to your environment setting.
Run
#Start redis server
redis-server
#Start the web console of Docker registry
npm start
Prerequisite
Install the docker https://docs.docker.com/installation/
Install the docker-compose https://docs.docker.com/compose/install/
Config
Update the docker-compose.yml according to your environment setting.
web:
build: .
links:
- redis
- registry
ports:
- "3000:3000"
environment:
DOCKER_HUB_USER: USER_NAME
DOCKER_HUB_PASSWORD: PASSWORD
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
redis:
image: redis:latest
registry:
image: registry:latest
ports:
- "5000:5000"
volumes:
- "/var/docker-registry-storage:/var/docker-registry-storage"
environment:
SETTINGS_FLAVOR: local
SEARCH_BACKEND: sqlalchemy
SQLALCHEMY_INDEX_DATABASE: sqlite:////var/docker-registry-storage/docker-registry.db
STORAGE_PATH: /var/docker-registry-storage
Add "127.0.0.1 registry" to /etc/hosts
Run
docker-compose up
- UI enhancement
- Provide the progress notification for syncing image
npm install nodeunit -g
nodeunit test
Authors: denverdino@gmail.com