查看镜像DIGEST
[root]# docker inspect f543c6d96282
[
{
"Id": "sha256:f543c6d962825fbe3977a24c64df9eeeb94278dea806e82caaad4ef83d27f426",
"RepoTags": [
"#####/base/#####:v2",
"#####/base/#####123:v11"
],
"RepoDigests": [
"#####/base/#####@sha256:793143daa65de51f371619cc1ff3b81a9558b0e464d8cface7664f126fb4865e",
"#####/base/#####123@sha256:793143daa65de51f371619cc1ff3b81a9558b0e464d8cface7664f126fb4865e"
],
"Parent": "sha256:eb2c93bb481b14e4fbaebb27c6ff17f471cccecd697905f6c66d3303dca1988d",
"Comment": "",
"Created": "2022-01-04T04:10:32.771068706Z",
"Container": "b26b18b16dd01b3e531dec9e2d2caf2c3883a0f440d77930d3ec0f4c2552735a",
"ContainerConfig": {
...
}
//RepoDigests 中的sha256:793143daa65即为镜像唯一标识