Skip to content

Instantly share code, notes, and snippets.

@tiziano88
Last active October 5, 2022 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tiziano88/364dee26fc3ba750d7ab35a595d52d99 to your computer and use it in GitHub Desktop.
Save tiziano88/364dee26fc3ba750d7ab35a595d52d99 to your computer and use it in GitHub Desktop.

from https://github.com/project-oak/oak/blob/cf3c3e05984c164c3a1b0588b7301331653950e4/scripts/common#L22-L26 :

# Do not modify manually. This value is automatically updated by ./scripts/docker_build .
readonly DOCKER_IMAGE_ID='sha256:215d9b11115a46f799341852ab6c43147f43414cb5e02be35d0abd63ed75cbb6'

# Do not modify manually. This value is automatically updated by ./scripts/docker_push .
readonly DOCKER_IMAGE_REPO_DIGEST='europe-west2-docker.pkg.dev/oak-ci/oak-development/oak-development@sha256:9e6f478527ad452a83ebfc56e3e0fe2550f164e43bb9810ab989bddf4923f163'

The image id is the hash of the local config file.

The image digest is the hash of the manifest.

$ curl https://crane.ggcr.dev/manifest/europe-west2-docker.pkg.dev/oak-ci/oak-development/oak-development@sha256:9e6f478527ad452a83ebfc56e3e0fe2550f164e43bb9810ab989bddf4923f163 > manifest.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11061    0 11061    0     0   8161      0 --:--:--  0:00:01 --:--:--  8157
$ ent digest manifest.json   
sha256:9e6f478527ad452a83ebfc56e3e0fe2550f164e43bb9810ab989bddf4923f163

Contents of manifest.json:

{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
   "config": {
      "mediaType": "application/vnd.docker.container.image.v1+json",
      "size": 120018,
      "digest": "sha256:215d9b11115a46f799341852ab6c43147f43414cb5e02be35d0abd63ed75cbb6"
   },
   "layers": [
      {
         "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
         "size": 54941777,
         "digest": "sha256:6aefca2dc61dcbcd268b8a9861e552f9cdb69e57242faec64ac120d2355a9c1a"
      },
      {
         "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
         "size": 223,
         "digest": "sha256:beda220e0a7a6784e099092ad06dfefae045844f141b7f3240b093a29739569b"
      },
      
      ...

      {
         "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
         "size": 566,
         "digest": "sha256:414e731932c9947db6841c73e0c030d75733763ffda736df1e57374dd945fa88"
      },
      {
         "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
         "size": 572,
         "digest": "sha256:9275339f6f3b6c70ee3dd0a4711d18b3049d75919ad5aec339c6cfc094ab1f22"
      }
   ]
}

Contents of ~/.local/share/docker/image/overlay2/imagedb/metadata/sha256/215d9b11115a46f799341852ab6c43147f43414cb5e02be35d0abd63ed75cbb6/lastUpdated

2022-09-26T23:55:08.030338945+01:00

Contents of ~/.local/share/docker/image/overlay2/imagedb/metadata/sha256/215d9b11115a46f799341852ab6c43147f43414cb5e02be35d0abd63ed75cbb6/parent

sha256:b6b3356dc8b0cd6a3d0240e6f7dc3608313d1876487443a6710f9de82d0757c8

Contents of ~/.local/share/docker/image/overlay2/imagedb/content/sha256/215d9b11115a46f799341852ab6c43147f43414cb5e02be35d0abd63ed75cbb6:

{"architecture":"amd64","config":{"Hostname":"","Domainname":"","User":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/workspace/scripts:/usr/local/wasm-pack/bin:/usr/local/sccache:/usr/local/cargo/bin:/usr/local/protobuf/bin:/usr/local/buildifier/bin:/usr/local/hadolint/bin:/go/bin:/usr/local/go/bin:/usr/local/emsdk:/usr/local/emsdk/node/12.9.1_64bit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","EMSDK=/usr/local/emsdk","EM_CONFIG=/usr/local/emsdk/.emscripten","EM_CACHE=/usr/local/emsdk/.emscripten_cache","GOROOT=/usr/local/go","GOPATH=/go","GO111MODULE=on" ...
{
  "architecture":"amd64",
  "config":{
    "Hostname":"",
    "Domainname":"",
    "User":"",
    "AttachStdin":false,
    "AttachStdout":false,
    "AttachStderr":false,
    "Tty":false,
    "OpenStdin":false,
    "StdinOnce":false,
    "Env":[
      "PATH=/workspace/scripts:/usr/local/wasm-pack/bin:/usr/local/sccache:/usr/local/cargo/bin:/usr/local/protobuf/bin:/usr/local/buildifier/bin:/usr/local/hadolint/bin:/go/bin:/usr/local/go/bin:/usr/local/emsdk:/usr/local/emsdk/node/12.9.1_64bit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
      "EMSDK=/usr/local/emsdk",
      "EM_CONFIG=/usr/local/emsdk/.emscripten",
      "EM_CACHE=/usr/local/emsdk/.emscripten_cache",
      "GOROOT=/usr/local/go",
      "GOPATH=/go",
      "GO111MODULE=on",
      "RUSTUP_HOME=/usr/local/cargo",
      "CARGO_HOME=",
      "OPENSSL_DIR=/musl",
      "PKG_CONFIG_ALLOW_CROSS=1",
      "OPENSSL_STATIC=1",
      "RUSTC_WRAPPER=sccache",
      "CARGO_INCREMENTAL=false"
    ],
    "Cmd":[
      "bash"
    ],
    "Image":"sha256:f0227b89220b66cfc891dfdb308fdcd42a5ef427c759aeb85f353337f5d73eb5",
    "Volumes":null,
    "WorkingDir":"/tmp/flatbuffer",
    "Entrypoint":null,
    "OnBuild":null,
    "Labels":null,
    "Shell":[
      "/bin/bash",
      "-o",
      "pipefail",
      "-c"
    ]
  },
  "container":"687f2d3e33a676b906a09561e1e73b2428177b8dfb1600c9a167f8a7761341c0",
  "container_config":{
    "Hostname":"",
    "Domainname":"",
    "User":"",
    "AttachStdin":false,
    "AttachStdout":false,
    "AttachStderr":false,
    "Tty":false,
    "OpenStdin":false,
    "StdinOnce":false,
    "Env":[
      "PATH=/workspace/scripts:/usr/local/wasm-pack/bin:/usr/local/sccache:/usr/local/cargo/bin:/usr/local/protobuf/bin:/usr/local/buildifier/bin:/usr/local/hadolint/bin:/go/bin:/usr/local/go/bin:/usr/local/emsdk:/usr/local/emsdk/node/12.9.1_64bit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
      "EMSDK=/usr/local/emsdk",
      "EM_CONFIG=/usr/local/emsdk/.emscripten",
      "EM_CACHE=/usr/local/emsdk/.emscripten_cache",
      "GOROOT=/usr/local/go",
      "GOPATH=/go",
      "GO111MODULE=on",
      "RUSTUP_HOME=/usr/local/cargo",
      "CARGO_HOME=",
      "OPENSSL_DIR=/musl",
      "PKG_CONFIG_ALLOW_CROSS=1",
      "OPENSSL_STATIC=1",
      "RUSTC_WRAPPER=sccache",
      "CARGO_INCREMENTAL=false"
    ],
    "Cmd":[
      "|56",
      "bazel_digest=sha256:89b14fa0d9ce5637f4e0b66df56a531e1e3c50d88614311334d192531cf1e0fa",
      "bazel_tools_version=5.0.0",
      "bazel_url=https://storage.googleapis.com/bazel-apt/pool/jdk1.8/b/bazel/bazel_4.2.0_amd64.deb",
      "bazel_version=4.2.0",
      "buildifier_bin=/usr/local/buildifier/bin/buildifier",
      "buildifier_digest=sha256:18a518a4b9b83bb96a115a681099ae6c115217e925a2dacfb263089e3a791b5d",
      "buildifier_dir=/usr/local/buildifier/bin",
      "crev_location=https://github.com/crev-dev/cargo-crev/releases/download/v0.23.0/cargo-crev-v0.23.0-x86_64-unknown-linux-musl.tar.gz",
      "crev_version=v0.23.0",
      "deadlinks_version=0.8.1",
      "deny_location=https://github.com/EmbarkStudios/cargo-deny/releases/download/0.11.3/cargo-deny-0.11.3-x86_64-unknown-linux-musl.tar.gz",
      "deny_version=0.11.3",
      "emscripten_digest=sha256:925dd5ca7dd783d0b367386e81847eaf680d54ae86017c4b5846dea951e17dc9",
      "emscripten_dir=/usr/local/emsdk",
      "emscripten_node_version_directory=12.9.1_64bit",
      "emscripten_temp=/tmp/emscripten.zip",
      "emscripten_version=1.39.17",
      "ent_digest=sha256:b2e999bda4c90fc58c924e19787f5f7037f9d48fd83e7deebd06e3e1d5b31e8d",
      "ent_server_url=https://ent-server-62sa4xcfia-ew.a.run.app",
      "flatbuffer_tmp_dir=/tmp/flatbuffer",
      "flatc_commit=750dde766990d75f849370582a0f90307c410537",
      "golang_digest=sha256:02b111284bedbfa35a7e5b74a06082d18632eff824fd144312f6063943d49259",
      "golang_temp=/tmp/golang.tar.gz",
      "golang_version=1.17.7",
      "grcov_location=https://github.com/mozilla/grcov/releases/download/v0.5.15/grcov-linux-x86_64.tar.bz2",
      "grcov_version=v0.5.15",
      "hadolint_bin=/usr/local/hadolint/bin/hadolint",
      "hadolint_digest=sha256:9dfc155139a1e1e9b3b28f3de9907736b9dfe7cead1c3a0ae7ff0158f3191674",
      "hadolint_dir=/usr/local/hadolint/bin",
      "hadolint_version=2.8.0",
      "install_dir=/usr/local/cargo/bin",
      "llvm_version=14",
      "markdownlint_version=0.30.0",
      "openssl_dir=/usr/local/openssl",
      "prettier_plugin_toml_version=0.3.1",
      "prettier_version=2.5.1",
      "protobuf_digest=sha256:058d29255a08f8661c8096c92961f3676218704cbd516d3916ec468e139cbd87",
      "protobuf_dir=/usr/local/protobuf",
      "protobuf_temp=/tmp/protobuf.zip",
      "protobuf_version=3.19.4",
      "rust_analyzer_location=https://github.com/rust-analyzer/rust-analyzer/releases/download/2022-02-14/rust-analyzer-x86_64-unknown-linux-gnu.gz",
      "rust_analyzer_version=2022-02-14",
      "rust_version=nightly-2022-04-22",
      "rustup_dir=/usr/local/cargo",
      "sccache_dir=/usr/local/sccache",
      "sccache_location=https://github.com/mozilla/sccache/releases/download/v0.2.15/sccache-v0.2.15-x86_64-unknown-linux-musl.tar.gz",
      "sccache_version=v0.2.15",
      "udeps_dir=cargo-udeps-v0.1.26-x86_64-unknown-linux-gnu",
      "udeps_location=https://github.com/est31/cargo-udeps/releases/download/v0.1.26/cargo-udeps-v0.1.26-x86_64-unknown-linux-gnu.tar.gz",
      "udeps_version=v0.1.26",
      "wasm_pack_bin=/usr/local/wasm-pack/bin/wasm-pack",
      "wasm_pack_digest=sha256:ddf59a454fbee8712932803583d01756204c32fbfb13defa69f08c3e7afb6ac5",
      "wasm_pack_dir=/usr/local/wasm-pack/bin",
      "wasm_pack_tmp=/tmp/wasm-pack",
      "wasm_pack_version=0.10.2",
      "wizer_version=1.4.0",
      "/bin/bash",
      "-o",
      "pipefail",
      "-c",
      "echo -e \"\\nalias ll='ls -l'\\n\" \u003e\u003e \"${HOME}/.bashrc\""
    ],
    "Image":"sha256:f0227b89220b66cfc891dfdb308fdcd42a5ef427c759aeb85f353337f5d73eb5",
    "Volumes":null,
    "WorkingDir":"/tmp/flatbuffer",
    "Entrypoint":null,
    "OnBuild":null,
    "Labels":null,
    "Shell":[
      "/bin/bash",
      "-o",
      "pipefail",
      "-c"
    ]
  },
  "created":"2022-09-22T10:22:57.70846948Z",
  "docker_version":"20.10.17",
  "history":[
    {
      "created":"2022-04-20T04:43:15.794657904Z",
      "created_by":"/bin/sh -c #(nop) ADD file:3a81c181c66f226bd6abd48d0c7ed8a9c599c9f521ec7229286c83161afec8c2 in / "
    },
    {
      "created":"2022-04-20T04:43:16.367340706Z",
      "created_by":"/bin/sh -c #(nop)  CMD [\"bash\"]",
      "empty_layer":true
    },
    {
      "created":"2022-04-26T20:44:13.030111785Z",
      "created_by":"/bin/sh -c echo 'Acquire::Check-Valid-Until \"false\";' \u003e /etc/apt/apt.conf.d/docker-snapshot.conf"
    },
    {
      "created":"2022-04-26T20:44:13.10476852Z",
      "created_by":"/bin/sh -c #(nop) COPY file:edd7e3077a02ccf08c31807e8dec83747e57eb8320e4027c01063aaea0c99ab4 in /etc/apt/ "
    },
    {
      "created":"2022-09-21T16:11:47.034780585Z",
      "created_by":"/bin/bash -o pipefail -c #(nop)  SHELL [/bin/bash -o pipefail -c]",
      "empty_layer":true
    },
    {
      "created":"2022-09-21T16:25:32.016514021Z",
      "created_by":"/bin/bash -o pipefail -c apt-get --yes update   \u0026\u0026 apt-get install --no-install-recommends --yes --option Acquire::http::Dl-Limit=500   apt-transport-https   build-essential   ca-certificates   clang-format   clang-tidy   curl   git   gnupg2   gnupg-agent   libcap-dev   libfl2   libncurses5   libssl-dev   musl-tools   openjdk-11-jdk   pkg-config   procps   python3   python3-six   python3-distutils   shellcheck   software-properties-common   vim   xml2   unzip   zlib1g-dev   \u0026\u0026 apt-get clean   \u0026\u0026 rm --recursive --force /var/lib/apt/lists/*   \u0026\u0026 git --version   \u0026\u0026 shellcheck --version"
    },
    {
      "created":"2022-09-21T16:25:33.10277328Z",
      "created_by":"/bin/bash -o pipefail -c #(nop)  ARG llvm_version=14",
      "empty_layer":true
    },
    {
      "created":"2022-09-21T16:25:57.928431681Z",
      "created_by":"|1 llvm_version=14 /bin/bash -o pipefail -c echo \"deb http://apt.llvm.org/bullseye/ llvm-toolchain-bullseye-$llvm_version main\" \u003e\u003e /etc/apt/sources.list.d/llvm.list   \u0026\u0026 curl https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -   \u0026\u0026 apt-get update --yes   \u0026\u0026 apt-get install --no-install-recommends --yes   lldb-${llvm_version}   \u0026\u0026 rm --recursive --force /var/lib/apt/lists/*"
    },
    {
      "created":"2022-09-21T16:25:59.910406598Z",
      "created_by":"|1 llvm_version=14 /bin/bash -o pipefail -c curl --fail --silent --show-error --location https://download.docker.com/linux/debian/gpg | apt-key add -"
    },
    
    ...

    {
      "created":"2022-09-21T16:44:10.229600271Z",
      "created_by":"/bin/bash -o pipefail -c #(nop)  ENV CARGO_INCREMENTAL=false",
      "empty_layer":true
    },
    {
      "created":"2022-09-21T16:44:12.91896011Z",
      "created_by":"/bin/bash -o pipefail -c #(nop)  ENV PATH=/workspace/scripts:/usr/local/wasm-pack/bin:/usr/local/sccache:/usr/local/cargo/bin:/usr/local/protobuf/bin:/usr/local/buildifier/bin:/usr/local/hadolint/bin:/go/bin:/usr/local/go/bin:/usr/local/emsdk:/usr/local/emsdk/node/12.9.1_64bit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
      "empty_layer":true
    },
    {
      "created":"2022-09-22T10:22:54.317255195Z",
      "created_by":"|56 bazel_digest=sha256:89b14fa0d9ce5637f4e0b66df56a531e1e3c50d88614311334d192531cf1e0fa bazel_tools_version=5.0.0 bazel_url=https://storage.googleapis.com/bazel-apt/pool/jdk1.8/b/bazel/bazel_4.2.0_amd64.deb bazel_version=4.2.0 buildifier_bin=/usr/local/buildifier/bin/buildifier buildifier_digest=sha256:18a518a4b9b83bb96a115a681099ae6c115217e925a2dacfb263089e3a791b5d buildifier_dir=/usr/local/buildifier/bin crev_location=https://github.com/crev-dev/cargo-crev/releases/download/v0.23.0/cargo-crev-v0.23.0-x86_64-unknown-linux-musl.tar.gz crev_version=v0.23.0 deadlinks_version=0.8.1 deny_location=https://github.com/EmbarkStudios/cargo-deny/releases/download/0.11.3/cargo-deny-0.11.3-x86_64-unknown-linux-musl.tar.gz deny_version=0.11.3 emscripten_digest=sha256:925dd5ca7dd783d0b367386e81847eaf680d54ae86017c4b5846dea951e17dc9 emscripten_dir=/usr/local/emsdk emscripten_node_version_directory=12.9.1_64bit emscripten_temp=/tmp/emscripten.zip emscripten_version=1.39.17 ent_digest=sha256:b2e999bda4c90fc58c924e19787f5f7037f9d48fd83e7deebd06e3e1d5b31e8d ent_server_url=https://ent-server-62sa4xcfia-ew.a.run.app flatbuffer_tmp_dir=/tmp/flatbuffer flatc_commit=750dde766990d75f849370582a0f90307c410537 golang_digest=sha256:02b111284bedbfa35a7e5b74a06082d18632eff824fd144312f6063943d49259 golang_temp=/tmp/golang.tar.gz golang_version=1.17.7 grcov_location=https://github.com/mozilla/grcov/releases/download/v0.5.15/grcov-linux-x86_64.tar.bz2 grcov_version=v0.5.15 hadolint_bin=/usr/local/hadolint/bin/hadolint hadolint_digest=sha256:9dfc155139a1e1e9b3b28f3de9907736b9dfe7cead1c3a0ae7ff0158f3191674 hadolint_dir=/usr/local/hadolint/bin hadolint_version=2.8.0 install_dir=/usr/local/cargo/bin llvm_version=14 markdownlint_version=0.30.0 openssl_dir=/usr/local/openssl prettier_plugin_toml_version=0.3.1 prettier_version=2.5.1 protobuf_digest=sha256:058d29255a08f8661c8096c92961f3676218704cbd516d3916ec468e139cbd87 protobuf_dir=/usr/local/protobuf protobuf_temp=/tmp/protobuf.zip protobuf_version=3.19.4 rust_analyzer_location=https://github.com/rust-analyzer/rust-analyzer/releases/download/2022-02-14/rust-analyzer-x86_64-unknown-linux-gnu.gz rust_analyzer_version=2022-02-14 rust_version=nightly-2022-04-22 rustup_dir=/usr/local/cargo sccache_dir=/usr/local/sccache sccache_location=https://github.com/mozilla/sccache/releases/download/v0.2.15/sccache-v0.2.15-x86_64-unknown-linux-musl.tar.gz sccache_version=v0.2.15 udeps_dir=cargo-udeps-v0.1.26-x86_64-unknown-linux-gnu udeps_location=https://github.com/est31/cargo-udeps/releases/download/v0.1.26/cargo-udeps-v0.1.26-x86_64-unknown-linux-gnu.tar.gz udeps_version=v0.1.26 wasm_pack_bin=/usr/local/wasm-pack/bin/wasm-pack wasm_pack_digest=sha256:ddf59a454fbee8712932803583d01756204c32fbfb13defa69f08c3e7afb6ac5 wasm_pack_dir=/usr/local/wasm-pack/bin wasm_pack_tmp=/tmp/wasm-pack wasm_pack_version=0.10.2 wizer_version=1.4.0 /bin/bash -o pipefail -c echo -e \"\\n#activate xtask auto-complete\\nif [ -f /workspace/.xtask_bash_completion ]; then\\n  source /workspace/.xtask_bash_completion \\nfi\" \u003e\u003e \"${HOME}/.bashrc\""
    },
    {
      "created":"2022-09-22T10:22:57.70846948Z",
      "created_by":"|56 bazel_digest=sha256:89b14fa0d9ce5637f4e0b66df56a531e1e3c50d88614311334d192531cf1e0fa bazel_tools_version=5.0.0 bazel_url=https://storage.googleapis.com/bazel-apt/pool/jdk1.8/b/bazel/bazel_4.2.0_amd64.deb bazel_version=4.2.0 buildifier_bin=/usr/local/buildifier/bin/buildifier buildifier_digest=sha256:18a518a4b9b83bb96a115a681099ae6c115217e925a2dacfb263089e3a791b5d buildifier_dir=/usr/local/buildifier/bin crev_location=https://github.com/crev-dev/cargo-crev/releases/download/v0.23.0/cargo-crev-v0.23.0-x86_64-unknown-linux-musl.tar.gz crev_version=v0.23.0 deadlinks_version=0.8.1 deny_location=https://github.com/EmbarkStudios/cargo-deny/releases/download/0.11.3/cargo-deny-0.11.3-x86_64-unknown-linux-musl.tar.gz deny_version=0.11.3 emscripten_digest=sha256:925dd5ca7dd783d0b367386e81847eaf680d54ae86017c4b5846dea951e17dc9 emscripten_dir=/usr/local/emsdk emscripten_node_version_directory=12.9.1_64bit emscripten_temp=/tmp/emscripten.zip emscripten_version=1.39.17 ent_digest=sha256:b2e999bda4c90fc58c924e19787f5f7037f9d48fd83e7deebd06e3e1d5b31e8d ent_server_url=https://ent-server-62sa4xcfia-ew.a.run.app flatbuffer_tmp_dir=/tmp/flatbuffer flatc_commit=750dde766990d75f849370582a0f90307c410537 golang_digest=sha256:02b111284bedbfa35a7e5b74a06082d18632eff824fd144312f6063943d49259 golang_temp=/tmp/golang.tar.gz golang_version=1.17.7 grcov_location=https://github.com/mozilla/grcov/releases/download/v0.5.15/grcov-linux-x86_64.tar.bz2 grcov_version=v0.5.15 hadolint_bin=/usr/local/hadolint/bin/hadolint hadolint_digest=sha256:9dfc155139a1e1e9b3b28f3de9907736b9dfe7cead1c3a0ae7ff0158f3191674 hadolint_dir=/usr/local/hadolint/bin hadolint_version=2.8.0 install_dir=/usr/local/cargo/bin llvm_version=14 markdownlint_version=0.30.0 openssl_dir=/usr/local/openssl prettier_plugin_toml_version=0.3.1 prettier_version=2.5.1 protobuf_digest=sha256:058d29255a08f8661c8096c92961f3676218704cbd516d3916ec468e139cbd87 protobuf_dir=/usr/local/protobuf protobuf_temp=/tmp/protobuf.zip protobuf_version=3.19.4 rust_analyzer_location=https://github.com/rust-analyzer/rust-analyzer/releases/download/2022-02-14/rust-analyzer-x86_64-unknown-linux-gnu.gz rust_analyzer_version=2022-02-14 rust_version=nightly-2022-04-22 rustup_dir=/usr/local/cargo sccache_dir=/usr/local/sccache sccache_location=https://github.com/mozilla/sccache/releases/download/v0.2.15/sccache-v0.2.15-x86_64-unknown-linux-musl.tar.gz sccache_version=v0.2.15 udeps_dir=cargo-udeps-v0.1.26-x86_64-unknown-linux-gnu udeps_location=https://github.com/est31/cargo-udeps/releases/download/v0.1.26/cargo-udeps-v0.1.26-x86_64-unknown-linux-gnu.tar.gz udeps_version=v0.1.26 wasm_pack_bin=/usr/local/wasm-pack/bin/wasm-pack wasm_pack_digest=sha256:ddf59a454fbee8712932803583d01756204c32fbfb13defa69f08c3e7afb6ac5 wasm_pack_dir=/usr/local/wasm-pack/bin wasm_pack_tmp=/tmp/wasm-pack wasm_pack_version=0.10.2 wizer_version=1.4.0 /bin/bash -o pipefail -c echo -e \"\\nalias ll='ls -l'\\n\" \u003e\u003e \"${HOME}/.bashrc\""
    }
  ],
  "os":"linux",
  "rootfs":{
    "type":"layers",
    "diff_ids":[
      "sha256:a13c519c6361b881ba38a452d05e130fc2ee26f0849f119936d747b96cf6a5c3",
      "sha256:b49aa660bf0c0dbe2d16f4ff259690ecaefc15589d8700e39e2084404f2c7944",

      ...

      "sha256:c808d60bc274003632459df3a5089ef4ab59ff99e9c83cf8673d37359ef36528",
      "sha256:e034fe2b7f3af81580fe0a7ebfb701695fa89becd1a72c29d0366202c519c9e4"
    ]
  }
}
$ curl --unix-socket /run/user/152101/docker.sock http://localhost/images/json
[
  {
    "Containers":-1,
    "Created":1664232878,
    "Id":"sha256:0969ae3ef07d27fe86f5162bb5fefb5af422a2411053cb4574a6e6dc0e1d50b3",
    "Labels":null,
    "ParentId":"sha256:269fb0d8ccc8fc7853739abb227902bc17df7212ed43512f08e054441bbfea48",
    "RepoDigests":[
      "<none>@<none>"
    ],
    "RepoTags":[
      "<none>:<none>"
    ],
    "SharedSize":-1,
    "Size":123897441,
    "VirtualSize":123897441
  },
  {
    "Containers":-1,
    "Created":1663842177,
    "Id":"sha256:215d9b11115a46f799341852ab6c43147f43414cb5e02be35d0abd63ed75cbb6",
    "Labels":null,
    "ParentId":"sha256:b6b3356dc8b0cd6a3d0240e6f7dc3608313d1876487443a6710f9de82d0757c8",
    "RepoDigests":[
      "europe-west2-docker.pkg.dev/oak-ci/oak-development/oak-development@sha256:9e6f478527ad452a83ebfc56e3e0fe2550f164e43bb9810ab989bddf4923f163",
      "gcr.io/oak-ci/oak@sha256:9e6f478527ad452a83ebfc56e3e0fe2550f164e43bb9810ab989bddf4923f163"
    ],
    "RepoTags":[
      "europe-west2-docker.pkg.dev/oak-ci/oak-development/oak-development:latest",
      "gcr.io/oak-ci/oak:latest"
    ],
    "SharedSize":-1,
    "Size":7285095215,
    "VirtualSize":7285095215
  },

  ...

  {
    "Containers":-1,
    "Created":1632440877,
    "Id":"sha256:feb5d9fea6a5e9606aa995e879d862b825965ba48de054caab5ef356dc6b3412",
    "Labels":null,
    "ParentId":"",
    "RepoDigests":[
      "hello-world@sha256:62af9efd515a25f84961b70f973a798d2eca956b1b2b026d0a4a63a3b0b6a3f2"
    ],
    "RepoTags":[
      "hello-world:latest"
    ],
    "SharedSize":-1,
    "Size":13256,
    "VirtualSize":13256
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment