[jbosstools-issues] [JBoss JIRA] (ERT-236) [compatibility] docker 1.10.x image IDs have digest prefix [EBZ#494770]

Xavier Coulon (JIRA) issues at jboss.org
Wed Jun 1 04:17:00 EDT 2016


     [ https://issues.jboss.org/browse/ERT-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Coulon updated ERT-236:
------------------------------
    Sprint: devex #115 May 2016


> [compatibility] docker 1.10.x image IDs have digest prefix [EBZ#494770]
> -----------------------------------------------------------------------
>
>                 Key: ERT-236
>                 URL: https://issues.jboss.org/browse/ERT-236
>             Project: Eclipse Release Train
>          Issue Type: Task
>          Components: Linux Tools
>            Reporter: Friendly Jira Robot
>              Labels: 5.0.0, Docker, bzira
>             Fix For: Neon (4.6)
>
>
> Docker 1.10.x (Remote API 1.22)
> Referring to images as "${digest}:${id}" seems to work just fine for the API, and probably expected given tha is what the full ID says. However from the POV of user presentation (Images/Containers view), we should strip out the digest part since the cli does the same.
> As an example :
> $ echo -e "GET /images/json?all=0 HTTP/1.1\r\n" | nc -U /var/run/docker.sock
> [
> ...
> ...
>     {
>         "Id": "sha256:77d2bd38e2e5fffae1d76af9b99a478c198218d9708c8bebf1932819a95db2bb",
>         "ParentId": "",
>         "RepoTags": [
>             "docker.io/cassandra:3.5"
>         ],
>         "RepoDigests": null,
>         "Created": 1462430641,
>         "Size": 388722305,
>         "VirtualSize": 388722305,
>         "Labels": {
>         }
>     },
>     {
>         "Id": "sha256:88ecdbb5a908bd1bdbb921110a6134d6916f962680da0c4628102ff0691b38b3",
>         "ParentId": "sha256:ec10611174d4a859aeb635cd1eef308e6d09cbb1b7f0936d46de62eafb39094a",
>         "RepoTags": [
>             "docker.io/registry:2"
>         ],
>         "RepoDigests": null,
>         "Created": 1460576081,
>         "Size": 171067126,
>         "VirtualSize": 171067126,
>         "Labels": {
>         }
>     }
> ...
> ...
> ]



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list