Skip to content

Latest commit

 

History

History
54 lines (27 loc) · 2.5 KB

README.md

File metadata and controls

54 lines (27 loc) · 2.5 KB

GitHub go.mod Go version of a Go module GoReportCard Go Reference

Search for Docker Hub Images

It's a helper mini-tool that can be used to search images available on Docker Hub within terminal. It works the same way as docker search command but adds some interactive controls while searching.

Note:

Main Features

  • Interactive terminal UI to search for any Docker Hub images.

  • Easily set filters or limits for the search.

  • Automatically result sorting based on highest to lowest stars count.

  • At present, no credentials/sign-in is required! Just run Docker Daemon/Engine & have internet connection...

  • Fully open source under MIT license!

Working Demo

search_docker_hub_image_demo.mp4

Dependencies

Currently the project depends on:

  1. docker - Docker provided API for interacting with the Docker daemon (called the Docker Engine API).

  2. tview - Terminal UI library with rich, interactive widgets — written in Golang.

  3. go-pretty - Table-writer and more in golang!

Build Binary

After installing Go, enter below command from project's root,

  • On Linux/UNIX,

    go build -o search_docker_hub_image ./cmd/search_docker_hub_image.go

  • On Windows,

    go build -o search_docker_hub_image.exe ./cmd/search_docker_hub_image.go

Run Directly with Source Code

After installing Go, clone/download this project & enter below command from project's root,

go run ./cmd/search_docker_hub_image.go