Coder Social home page Coder Social logo

dtags's Introduction

dtags

GitHub release (latest by date) GitHub GitHub Workflow Status Go Report Card

Command line tool to get a list of tags for docker images. It can also be used as a docker cli plugin.

Supported Registry

Note
For the Amazon ECR and ECR Public, an AWS Profile must be configured.
See documentation for details.

Note
For the private Google Container Registry and Google Artifact Registry, you must set Google's Application Default Credentials.
See documentation for details.

Installation

go install

$ go install github.com/superproj/dtags@latest

Docker CLI Plugin

$ git clone https://github.com/superproj/dtags.git
$ cd dtags
$ make
$ mkdir -p $HOME/.docker/cli-plugins/
$ mv ./dist/dtags $HOME/.docker/cli-plugins/docker-tags
$ docker tags --help

Release

Download the binary from the releases page.

Usage

Command line tool to get a list of tags for docker images.

Usage:
  dtags [IMAGE] [flags]

Flags:
      --aws-profile string   aws profile.
  -h, --help                 help for dtags
      --latest               return only the latest version.
  -o, --output string        output format (json|text|yaml) (default "text")
  -v, --version              version for dtags
  -n, --with-name            print with image name.
$ dtags alpine
latest
edge
3.9.6
3.9.5
...
# json format
$ dtags alpine -o json
[
  "latest",
  "edge",
  "3.9.6",
  "3.9.5",
  ...
]

LICENSE

LICENSE

dtags's People

Stargazers

zbv avatar 科科人神 avatar

Forkers

isgasho

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.