Skip to content

Instantly share code, notes, and snippets.

@dlorenc
Created December 30, 2020 14:14
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 dlorenc/3581a0a82206431c293528d496fd3125 to your computer and use it in GitHub Desktop.
Save dlorenc/3581a0a82206431c293528d496fd3125 to your computer and use it in GitHub Desktop.
$ crane config quay.io/prometheus/node-exporter:v1.0.1 | jq .
2020/12/28 17:45:02 No matching credentials were found, falling back on anonymous
{
"architecture": "amd64",
"config": {
"Hostname": "",
"Domainname": "",
"User": "nobody",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"9100/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": null,
"ArgsEscaped": true,
"Image": "sha256:0477ab34da8d4e02896ec62081f0c5192d6ea59bc05a7d2bcf5fc44fe1b4a265",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": [
"/bin/node_exporter"
],
"OnBuild": null,
"Labels": {
"maintainer": "The Prometheus Authors <prometheus-developers@googlegroups.com>"
}
},
"container": "3c65bff1a51b478dc385c8123b11005465e89f7d210056221295f67d5efa12f4",
"container_config": {
"Hostname": "3c65bff1a51b",
"Domainname": "",
"User": "nobody",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"9100/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"/bin/sh",
"-c",
"#(nop) ",
"ENTRYPOINT [\"/bin/node_exporter\"]"
],
"ArgsEscaped": true,
"Image": "sha256:0477ab34da8d4e02896ec62081f0c5192d6ea59bc05a7d2bcf5fc44fe1b4a265",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": [
"/bin/node_exporter"
],
"OnBuild": null,
"Labels": {
"maintainer": "The Prometheus Authors <prometheus-developers@googlegroups.com>"
}
},
"created": "2020-06-16T13:20:01.749744025Z",
"docker_version": "18.06.0-ce",
"history": [
{
"created": "2019-10-30T23:20:50.129243133Z",
"created_by": "/bin/sh -c #(nop) ADD file:12563da360d9eabd79e99c8bbe852977e5d7d14f977f8beddfc641e41d07025a in / "
},
{
"created": "2019-10-30T23:20:50.272464075Z",
"created_by": "/bin/sh -c #(nop) CMD [\"sh\"]",
"empty_layer": true
},
{
"created": "2019-11-12T16:44:30.80924801Z",
"author": "The Prometheus Authors <prometheus-developers@googlegroups.com>",
"created_by": "/bin/sh -c #(nop) MAINTAINER The Prometheus Authors <prometheus-developers@googlegroups.com>",
"empty_layer": true
},
{
"created": "2019-11-12T16:44:31.605543693Z",
"author": "The Prometheus Authors <prometheus-developers@googlegroups.com>",
"created_by": "/bin/sh -c #(nop) COPY dir:3bb083d91f284fba833f8c8fa76ee3d8521da533309248f672e12271f4789fb0 in / "
},
{
"created": "2020-06-16T13:20:00.358060806Z",
"created_by": "/bin/sh -c #(nop) LABEL maintainer=The Prometheus Authors <prometheus-developers@googlegroups.com>",
"empty_layer": true
},
{
"created": "2020-06-16T13:20:00.546350907Z",
"created_by": "/bin/sh -c #(nop) ARG ARCH=amd64",
"empty_layer": true
},
{
"created": "2020-06-16T13:20:00.730806832Z",
"created_by": "/bin/sh -c #(nop) ARG OS=linux",
"empty_layer": true
},
{
"created": "2020-06-16T13:20:01.106901163Z",
"created_by": "/bin/sh -c #(nop) COPY file:ee89f684ba9aba0230bd5e4a581611d3594f6719efafc82869d0c14b8da57e94 in /bin/node_exporter "
},
{
"created": "2020-06-16T13:20:01.410414008Z",
"created_by": "/bin/sh -c #(nop) EXPOSE 9100",
"empty_layer": true
},
{
"created": "2020-06-16T13:20:01.585754524Z",
"created_by": "/bin/sh -c #(nop) USER nobody",
"empty_layer": true
},
{
"created": "2020-06-16T13:20:01.749744025Z",
"created_by": "/bin/sh -c #(nop) ENTRYPOINT [\"/bin/node_exporter\"]",
"empty_layer": true
}
],
"os": "linux",
"rootfs": {
"type": "layers",
"diff_ids": [
"sha256:bef00f7ac5a99ef477dfc03b322142f7142623b2d00907d3a8a731fd5a501381",
"sha256:bb208cc3e92635d9cd8458c9f0ee660c886cab7fb7f5fce4a37b34c5ba164801",
"sha256:53fe7fa9c07ca9866360b033c7f7dfc142a2561284a187603b3e5f8a887040c8"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment