go-search-docker-hub-image

module
v0.0.0-...-0f1376a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2023 License: MIT

README

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

https://github.com/apchavan/go-search-docker-hub-image/assets/49102443/41d2d881-2c74-418b-924d-4b6df61b72e2

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL