Work with remote images registries - retrieving information, images, signing content
Go to file
Antonio Murdaca e1291313aa drop the Registry field in output - images are not fully qualified
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-01-21 10:31:25 +01:00
Godeps bump godeps 2016-01-21 09:39:25 +01:00
.gitignore initial commit 2016-01-17 18:28:53 +01:00
inspect_v1.go drop the Registry field in output - images are not fully qualified 2016-01-21 10:31:25 +01:00
inspect_v2.go drop the Registry field in output - images are not fully qualified 2016-01-21 10:31:25 +01:00
inspect.go drop the Registry field in output - images are not fully qualified 2016-01-21 10:31:25 +01:00
LICENSE add LICENSE 2016-01-20 17:11:55 +01:00
main.go require fully qualified repo name 2016-01-21 10:25:41 +01:00
Makefile initial commit 2016-01-17 18:28:53 +01:00
README.md drop the Registry field in output - images are not fully qualified 2016-01-21 10:31:25 +01:00

skopeo

Please be aware skopeo is still work in progress

skopeo is a command line utility which is able to inspect a repository on a Docker registry. By inspect I mean it fetches the repository's manifest and it is able to show you a docker inspect-like json output about a whole repository or a tag. This tool, in constrast to docker inspect, helps you gather useful information about a repository or a tag before pulling it (using disk space) - e.g. - which tags are available for the given repository? which labels the image has?

Example:

# show image's labels
$ skopeo registry.access.redhat.com/rhel7 | jq '.Config.Labels'
{
  "Architecture": "x86_64",
  "Authoritative_Registry": "registry.access.redhat.com",
  "BZComponent": "rhel-server-docker",
  "Build_Host": "rcm-img04.build.eng.bos.redhat.com",
  "Name": "rhel7/rhel",
  "Release": "38",
  "Vendor": "Red Hat, Inc.",
  "Version": "7.2"
}

# show image's tags
$ skopeo docker.io/fedora | jq '.RepoTags'
[
  "20",
  "21",
  "22",
  "23",
  "heisenbug",
  "latest",
  "rawhide"
]

Building

$ git clone https://github.com/runcom/skopeo
$ make

Installing

$ sudo make install

License

MIT TODO

  • show repo tags via flag or when reference isn't tagged or digested
  • add tests (integration with deployed registries in container - Docker-like)
  • get rid of Docker (meaning make this work w/o needing Docker installed)

NOT TODO

  • provide a format flag - just use the awesome jq