All Projects → vivekjuneja → Docker_registry_cli

vivekjuneja / Docker_registry_cli

Licence: mit
Docker Registry CLI - Provides search functionality for Docker Registry (UI and CLI)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Docker registry cli

Dockercheatsheet
🐋 Docker Cheat Sheet 🐋
Stars: ✭ 3,301 (+6777.08%)
Mutual labels:  registry, docker-image, docker-registry
Search Docker Registry V2 Script.1.0
view-private-registry is a simple bash script for listing images in a private registry v2, docker search registry-v2
Stars: ✭ 34 (-29.17%)
Mutual labels:  registry, docker-image, docker-registry
Awesome Docker
🐳 A curated list of Docker resources and projects
Stars: ✭ 20,870 (+43379.17%)
Mutual labels:  docker-image, docker-registry
Kraken
P2P Docker registry capable of distributing TBs of data in seconds
Stars: ✭ 4,849 (+10002.08%)
Mutual labels:  docker-image, docker-registry
Gosearch
🔍 Search the Go packages via command-line
Stars: ✭ 48 (+0%)
Mutual labels:  cli, search
Manifest Tool
Manifest tool for manifest list object creation/query
Stars: ✭ 355 (+639.58%)
Mutual labels:  docker-image, docker-registry
Gitlab Time Tracker
🦊🕘 A command line interface for GitLab's time tracking feature.
Stars: ✭ 371 (+672.92%)
Mutual labels:  cli, docker-image
Registry Cli
Scripts for easy manipulation of docker-registry from command line (and from scripts)
Stars: ✭ 609 (+1168.75%)
Mutual labels:  registry, docker-registry
Ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Stars: ✭ 28,564 (+59408.33%)
Mutual labels:  cli, search
Dive
A tool for exploring each layer in a docker image
Stars: ✭ 28,957 (+60227.08%)
Mutual labels:  cli, docker-image
Jenkinsfile Runner
A command line tool to run Jenkinsfile as a function
Stars: ✭ 727 (+1414.58%)
Mutual labels:  cli, docker-image
Fd
A simple, fast and user-friendly alternative to 'find'
Stars: ✭ 19,851 (+41256.25%)
Mutual labels:  cli, search
Wasm Pack
This tool seeks to be a one-stop shop for building and working with rust- generated WebAssembly that you would like to interop with JavaScript, in the browser or with Node.js. wasm-pack helps you build rust-generated WebAssembly packages that you could publish to the npm registry, or otherwise use alongside any javascript packages in workflows that you already use, such as webpack.
Stars: ✭ 3,848 (+7916.67%)
Mutual labels:  registry, cli
Mongo Seeding
The ultimate solution for populating your MongoDB database.
Stars: ✭ 375 (+681.25%)
Mutual labels:  cli, docker-image
Image Syncer
Docker image synchronization tool for Docker Registry V2 based services
Stars: ✭ 313 (+552.08%)
Mutual labels:  docker-image, docker-registry
Klar
Integration of Clair and Docker Registry
Stars: ✭ 480 (+900%)
Mutual labels:  docker-image, docker-registry
Lstags
Explore Docker registries and manipulate Docker images!
Stars: ✭ 277 (+477.08%)
Mutual labels:  docker-image, docker-registry
Cli
✨ A powerful CLI for the Create Go App project. Create a new production-ready project with backend, frontend and deploy automation by running one CLI command!
Stars: ✭ 292 (+508.33%)
Mutual labels:  cli, docker-image
Dragonfly
Dragonfly is an intelligent P2P based image and file distribution system.
Stars: ✭ 5,720 (+11816.67%)
Mutual labels:  registry, docker-image
Docker Registry Ui
The simplest and most complete UI for your private registry
Stars: ✭ 756 (+1475%)
Mutual labels:  registry, docker-registry

docker_registry_cli

Docker Registry CLI - Currently ONLY Supports the Search capability via Catalog API in the new version of Docker Registry v2.

Features :-

  1. List all the repos available on Docker Registry
  2. Search for repositories
  3. Supports HTTPS and Basic Auth enabled Docker Registry
  4. Added support for Search Web UI

Docker Registry search under 1 minute :-

asciicast

Prerequisities :-

  1. Download the new Docker Registry 2.1+ that supports Catalog API

Usage:-

  1. To use the CLI :-

python browser.py <REGISTRY_ENDPOINT> <keyword> <options>

REGISTRY_ENDPOINT : <IP_ADDRESS_DOCKER_REGISTRY>:<PORT> eg: localhost:5000

keyword :

  • search - allows searching for Docker Images. Supports partial search. No RegEx Support yet.

eg:-

`python browser.py localhost:5000 search busybox`

`python browser.py localhost:5000 search busy`

`python browser.py localhost:5000 search bu`
  • list - lists all the Docker images available in the Image Registry with their respective tags

eg:-

`python browser.py localhost:5000 list all`

To use the Dockerfile, refer to the following examples :-

  1. docker build -t <imagename> .

  2. docker run -p 5000:5000 -d <imagename> localhost:5000 search busybox

Examples:-

$ docker build -t docker_reg_search .

$ docker run docker_reg_search localhost:5002 list all

-----------

Name: busybox

Tags: v1	v2	latest

-----------

Name: busyy

Tags: v2

-----------

Name: jenkins

Tags: latest


$ docker run docker_reg_search localhost:5002 search bus

-----------

Name: busybox

Tags: v1	v2	latest

-----------

Name: busy

Tags: v2

New Support for SSL and Authenticated Docker Registry

If the Docker registry is only authenticated via SSL

python browser.py localhost:5000 search busy ssl python browser.py localhost:5000 list all ssl

If the Docker registry is authenticated by Username and Password, but not via SSL

python browser.py exampleuser:[email protected]:443 search busybox python browser.py exampleuser:[email protected]:5000 list all

If the Docker registry is authenticated by both Username:Password, and SSL

python browser.py exampleuser:[email protected]:443 search mobile ssl python browser.py exampleuser:[email protected]:5000 list all ssl

Please note that currently the python script does not verify the SSL Certificate. It also does not suppress the SSL warning. The ssl flag is only used to toggle the URL protocol as https.

Docker Search Browser UI added

The browser_web.py script provides a Web UI to search the Docker Registry.

Usage :-

python browser_web.py localhost python browser_web.py localhost ssl

Now, access the UI at http://localhost:9001/registry/search

Screenshot :-

Licensing

MIT see LICENSE for the full license text.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].