Skip to content

No history available when running docker history on a Jib build docker image #840

Description

@anthonydahanne

Description of the issue:
I've create a docker image with jib, anthonydahanne/petclinic:jib ; when I run docker history on it, there is no layer described

Expected behavior:
See layers description / metadata added at each step

Steps to reproduce:

[node3] (local) [email protected] ~
$ docker pull anthonydahanne/petclinic:jib
jib: Pulling from anthonydahanne/petclinic
8f125ded1b48: Pull complete
ba7c544469e5: Pull complete
43b4357066b0: Pull complete
4dcd5ac6fd80: Pull complete
16a5fb589b85: Pull complete
d24512140230: Pull complete
Digest: sha256:cf8716fddcce10c93c9803562acf2dd48804983e4d5ee6a6db151930d84df697
Status: Downloaded newer image for anthonydahanne/petclinic:jib
[node3] (local) [email protected] ~
$ docker history anthonydahanne/petclinic:jib
IMAGE               CREATED             CREATED BY          SIZE                COMMENT

I would have expected at least 6 layers to show up, since, after all, docker pulled 6 layers

Environment:
Docker version 18.03.1-ce, build 9ee9f40

jib-maven-plugin Configuration:

     <plugin>
        <groupId>com.google.cloud.tools</groupId>
        <artifactId>jib-maven-plugin</artifactId>
        <version>0.9.8</version>
        <configuration>
          <to>
            <image>registry.hub.docker.com/anthonydahanne/petclinic:jib</image>
          </to>
        </configuration>
      </plugin>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions