-
Notifications
You must be signed in to change notification settings - Fork 795
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
Add support for docker-archive: to skopeo list-tags #1029
Comments
Thanks for your report. Conceptually, This functionality would be a good fit for |
@guanxingfeng Does list-tags satify your needs? |
@rhatdan |
@rhatdan I want to get tags from a image tar,skopeo list-tags doesn’t currently implement docker-archive: |
Would that change make more sense? Using skopeo list-tags on a docker-archive? |
A friendly reminder that this issue had no activity for 30 days. |
FWIW containers/image#991 has built the infrastructure necessary to implement this. |
Is there any update for this? I use the latest code, it still not implement this
|
I could definitely use this; right now I have to resort to parsing the manifest inside the tarball with |
You can use it with the latest version of Skopeo. |
Yeah sorry, I did not realise that I'm still stuck on an ancient version; SLES' repository still has 1.4.1. I'll instead run my commands within the official container image. |
command: skopeo inspect docker-archive:/root/busybox.tar
{
"Digest": "sha256:d8db71d650ed60da14a6c6d46ea1103d253a1117586e846020b82726e71d3b19",
"RepoTags": [],
"Created": "2020-06-29T20:21:41.42102751Z",
"DockerVersion": "18.09.7",
"Labels": null,
"Architecture": "amd64",
"Os": "linux",
"Layers": [
"sha256:50761fe126b6e4d90fa0b7a6e195f6030fe250c016c2fc860ac40f2e8d2f2615"
],
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
]
}
expect display right ,eg "RepoTags":["busybox:latest"]!!
The text was updated successfully, but these errors were encountered: