The "digest" is a hash of the manifest, introduced in Docker registry v2. The image ID is a hash of the local image JSON configuration.