Skip to content

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

License

Notifications You must be signed in to change notification settings

superproj/dtags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published