Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] List all tags with digest "sha256:***" #225

Open
wchorski opened this issue Jul 17, 2024 · 0 comments
Open

[FEATURE] List all tags with digest "sha256:***" #225

wchorski opened this issue Jul 17, 2024 · 0 comments

Comments

@wchorski
Copy link

Description

Feature Request

List all tags that have the digest ex: sha256:*****

Solves Problem

Make it possible to easily read and compare current "latest" images with the currently deployed image by their tagged version number (or however the developers label their releases)

Example

I'd like to get all tags that equal the "latest" tag's digest id

hub-tool tag ls library/wordpress

This command returns +4000 lines. If there is documentation on how to filter these I could not find or understand it via the --help

Here is an idea of how'd I think the syntax would be for filtering

hub-tool tag ls library/wordpress sha256:*****

Machine Software

Output of hub-tool --version:

Docker Hub Tool v0.4.6, build 74bc560

Output of docker version:

Docker version 27.0.3, build 7d4bcd8

Output of docker info:

Client: Docker Engine - Community
 Version:    27.0.3
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.15.1
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.28.1
    Path:     /usr/libexec/docker/cli-plugins/docker-compose
  scan: Docker Scan (Docker Inc.)
    Version:  v0.23.0
    Path:     /usr/libexec/docker/cli-plugins/docker-scan

Server:
 Containers: 67
  Running: 66
  Paused: 0
  Stopped: 1
 Images: 55
 Server Version: 27.0.3
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: ae71819c4f5e67bb4d5ae76a6b735f29cc25774e
 runc version: v1.1.13-0-g58aa920
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 5.10.0-30-amd64
 Operating System: Debian GNU/Linux 11 (bullseye)
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 15.51GiB
 Name: icicle
 ID: UA7V:I57X:XZDG:7KP3:3T5D:GV4H:UDSD:BPRN:V6DO:4E47:KBIQ:2LGF
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant