4 ms·
They are if you use the digest rather than the id.
by voxic11 5y ago
They are if you use the digest rather than the id.
- mleonhard 5y agoYou can specify the digest of a base image when building a new image. You cannot specify the digest of a built image when starting a container.
- cpuguy83 5y agoA built (as in `docker build && docker run`) image does not have a digest because the digests are for the tar+gzipped versions of the layers (+ the image config and manifest). The layers are not tar+gzipped until you attempt to push them, at which point the digest is calculated.