Antonio Murdaca 6ea444ad5a remove todo - image be fully qualified
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-01-21 10:29:02 +01:00
2016-01-21 09:39:25 +01:00
2016-01-17 18:28:53 +01:00
2016-01-20 17:11:55 +01:00
2016-01-21 10:25:41 +01:00
2016-01-17 18:28:53 +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)
  • drop the Registry field in the response because of the point above :)

NOT TODO

  • provide a format flag - just use the awesome jq
Description
Work with remote images registries - retrieving information, images, signing content
Readme 125 MiB
Languages
Go 78.8%
Shell 16%
Makefile 2.9%
Perl 2.1%
Dockerfile 0.2%