Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Allow for Image Id's w/ sha256: Prefix #15

Merged
merged 1 commit into from
Feb 23, 2016

Conversation

johnallen3d
Copy link
Contributor

It would appear that v1.10.0 introduced a change to the image id's. Now when I inspect an image (or container) the id is prefixed with "sha256:".

> docker --version
Docker version 1.9.1, build a34a1d5

> docker inspect alpine:latest
[
    {
        "Id": "3571dd565f47a963b6a35523bd3912aecba747e2a24d1f9be0157c8cf5eb07f2",
        ...
    }
]
> docker --version
Docker version 1.10.0, build 590d5108

> docker inspect alpine:latest
[
    {
        "Id": "sha256:90239124c3524df365bfd1dc0329c383d37f07c22f86e0aaa1f4f00011d56da3",
        ...
    }
]

It would appear that [v1.10.0](https://github.com/docker/docker/releases/tag/v1.10.0) introduced a change to the image id's. Now when I inspect an image (or container) the id is prefixed with "sha256:".

```sh
> docker --version
Docker version 1.9.1, build a34a1d5

> docker inspect alpine:latest
[
    {
        "Id": "3571dd565f47a963b6a35523bd3912aecba747e2a24d1f9be0157c8cf5eb07f2",
        ...
    }
]

> docker --version
Docker version 1.10.0, build 590d5108

> docker inspect alpine:latest
[
    {
        "Id": "sha256:90239124c3524df365bfd1dc0329c383d37f07c22f86e0aaa1f4f00011d56da3",
        ...
    }
]
```
mikljohansson added a commit that referenced this pull request Feb 23, 2016
Allow for Image Id's w/ sha256: Prefix
@mikljohansson mikljohansson merged commit 91eaf1b into meltwater:master Feb 23, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants