nixpkgs/pkgs/build-support/docker
Antoine Eiche 736848723e dockerTools.pullImage: Skopeo pulls images by digest
Skopeo is used to pull images from a Docker registry (instead of a
Docker deamon in a VM).

An image reference is specified with its name and its digest which is
an immutable image identifier (unlike image name and tag).

Skopeo can be used to get the digest of an image, for instance:
$ skopeo inspect docker://docker.io/nixos/nix:1.11 | jq -r '.Digest'
2018-05-02 21:32:20 +02:00
..
default.nix dockerTools.pullImage: Skopeo pulls images by digest 2018-05-02 21:32:20 +02:00
detjson.py
examples.nix dockerTools.pullImage: Skopeo pulls images by digest 2018-05-02 21:32:20 +02:00
tarsum.go dockerTools.tarsum: Fix upstream import 2018-03-26 18:47:31 +02:00