buildah: buildah bud fails at commit stage for layered images from private registry with internal error

Description

Whenever I’m building a layered image from my private registry (OpenShift Origin 1.5 registry), it breaks at the end with weird messages like this:

STEP 4: COMMIT containers-storage:[overlay@/var/lib/containers/storage+/var/run/containers/storage:overlay.override_kernel_check=true]@ac887cd1c3698c3247f983681a24daeb2e35e9497f0a9e77fc120a310c43cf7b
error copying layers and metadata: Error initializing source containers-storage:centos-buildah-working-container: internal error: history lists 5 non-empty layers, but we have 10 layers on disk

Steps to reproduce the issue:

  1. Set up Origin 1.5
  2. Build a container in it
  3. Use buildah bud to build a container layered on top of that one.

Example “base” container:

FROM centos:7
RUN yum upgrade -y && yum -y install buildah && rm -rf /var/cache/yum/*
CMD /bin/bash

Example “layered” container:

FROM registry.localhost.localdomain/test/centos-buildah
RUN yum -y install docker && rm -rf /var/cache/yum/*
CMD /bin/bash

Describe the results you received: It fails to build due to internal error with history of layers, as noted in the description.

Describe the results you expected: I expected the commit stage to succeed and the image to build.

Output of rpm -q buildah:

On my CentOS 7 box:

buildah-0.11-3.git49095a8.el7.x86_64

On my Fedora 28 box:

buildah-0.16-1.git82529cd.fc28.x86_64

Output of buildah version:

On my CentOS 7 box:

Version:       0.11
Go Version:    go1.8.3
Image Spec:    1.0.0
Runtime Spec:  1.0.0
Git Commit:    49095a8
Built:         Wed Mar  7 17:03:34 2018
OS/Arch:       linux/amd64

On my Fedora 28 box:

Version:       0.16
Go Version:    go1.10
Image Spec:    1.0.0
Runtime Spec:  1.0.0
Git Commit:    82529cd
Built:         Wed Apr  4 10:22:20 2018
OS/Arch:       linux/amd64

Output of cat /etc/*release:

CentOS 7 box:

CentOS Linux release 7.4.1708 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.4.1708 (Core)
CentOS Linux release 7.4.1708 (Core)

Fedora 28 box:

Fedora release 28 (Twenty Eight)
NAME=Fedora
VERSION="28 (Twenty Eight)"
ID=fedora
VERSION_ID=28
PLATFORM_ID="platform:f28"
PRETTY_NAME="Fedora 28 (Twenty Eight)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:28"
HOME_URL="https://fedoraproject.org/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=28
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=28
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
Fedora release 28 (Twenty Eight)
Fedora release 28 (Twenty Eight)

Output of uname -a:

CentOS 7 box:

Linux localhost 3.10.0-693.11.6.el7.x86_64 #1 SMP Thu Jan 4 01:06:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Fedora 28 box:

Linux localhost 4.16.4-300.fc28.x86_64 #1 SMP Tue Apr 24 22:15:13 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Output of cat /etc/containers/storage.conf:

# storage.conf is the configuration file for all tools
# that share the containers/storage libraries
# See man 5 containers-storage.conf for more information

# The "container storage" table contains all of the server options.
[storage]

# Default Storage Driver
driver = "overlay"

# Temporary storage location
runroot = "/var/run/containers/storage"

# Primary Read/Write location of container storage
graphroot = "/var/lib/containers/storage"

[storage.options]
# AdditionalImageStores is used to pass paths to additional Read/Only image stores
# Must be comma separated list.
additionalimagestores = [
]

# Size is used to set a maximum size of the container image.  Only supported by
# certain container storage drivers.
size = ""

# OverrideKernelCheck tells the driver to ignore kernel checks based on kernel version
override_kernel_check = "true"

Configuration is same for both CentOS and Fedora.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 52 (17 by maintainers)

Commits related to this issue

Most upvoted comments

@mtrmac is still digging. From the last I heard he’d solved the mainline issue, but ran into some issues in other places. He’s trying to squish all the legs of this nasty bug.

@pixdrift, didn’t get to this until just a bit ago, but am able to duplicate the issue with your reproducer. We’d a similar issue before with too many slashes, I’ll look over the weekend to see if I can dig it up.

The original “base” image was built by Origin 1.5 and stored in its registry.

Here’s buildah inspect output:

[neal@localhost ~]$ sudo buildah inspect "registry.localhost.localdomain/test/centos-buildah"
{
    "Type": "buildah 0.0.1",
    "FromImage": "registry.localhost.localdomain/test/centos-buildah:latest",
    "FromImageID": "5f945be5832c09cc9468c6f340a50835e03da014185188b8194b8ecee39e4876",
    "Config": "",
    "Manifest": "{\n   \"schemaVersion\": 1,\n   \"name\": \"test/centos-buildah\",\n   \"tag\": \"latest\",\n   \"architecture\": \"amd64\",\n   \"fsLayers\": [\n      {\n         \"blobSum\": \"sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4\"\n      },\n      {\n         \"blobSum\": \"sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4\"\n      },\n      {\n         \"blobSum\": \"sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4\"\n      },\n      {\n         \"blobSum\": \"sha256:1350cd11631cfdcc33b53eef8fb5c3f98d1f24583301ab40f6865ecdfae7a6c3\"\n      },\n      {\n         \"blobSum\": \"sha256:7162bc5ef6b3858e630e8a03e5b0c8e5e6e1f14a519d378d07de769f6b1876a8\"\n      },\n      {\n         \"blobSum\": \"sha256:519dcdaf32b3a8b47d8da2a0d946e8a0397e12051dba674021fa549831e70739\"\n      },\n      {\n         \"blobSum\": \"sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4\"\n      },\n      {\n         \"blobSum\": \"sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4\"\n      },\n      {\n         \"blobSum\": \"sha256:364f9b7c969aed6ff05b7ced04b1b53b824386288dffb1e6aec41d5a706dd51e\"\n      }\n   ],\n   \"history\": [\n      {\n         \"v1Compatibility\": \"{\\\"architecture\\\":\\\"amd64\\\",\\\"config\\\":{\\\"Hostname\\\":\\\"c7947be2eb9d\\\",\\\"Domainname\\\":\\\"\\\",\\\"User\\\":\\\"\\\",\\\"AttachStdin\\\":false,\\\"AttachStdout\\\":false,\\\"AttachStderr\\\":false,\\\"Tty\\\":false,\\\"OpenStdin\\\":false,\\\"StdinOnce\\\":false,\\\"Env\\\":[\\\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\\\",\\\"OPENSHIFT_BUILD_NAME=centos-buildah-6\\\",\\\"OPENSHIFT_BUILD_NAMESPACE=test\\\",\\\"OPENSHIFT_BUILD_SOURCE=https://git.localdomain/test/centos-buildah.git\\\",\\\"OPENSHIFT_BUILD_COMMIT=338caa77213aa797a92794e600a1f2c746a045ee\\\"],\\\"Cmd\\\":[\\\"/bin/sh\\\",\\\"-c\\\",\\\"/bin/bash\\\"],\\\"ArgsEscaped\\\":true,\\\"Image\\\":\\\"sha256:03b056c907197cc51baca684cfab7928e63a2034f96334c15da428da4f4987c3\\\",\\\"Volumes\\\":null,\\\"WorkingDir\\\":\\\"\\\",\\\"Entrypoint\\\":null,\\\"OnBuild\\\":[],\\\"Labels\\\":{\\\"build-date\\\":\\\"20170801\\\",\\\"io.openshift.build.commit.author\\\":\\\"Foo User \\\\\\\\u003cfoo@localhost.localdomain\\\\\\\\u003e\\\",\\\"io.openshift.build.commit.date\\\":\\\"Thu Mar 22 16:36:55 2018 -0400\\\",\\\"io.openshift.build.commit.id\\\":\\\"338caa77213aa797a92794e600a1f2c746a045ee\\\",\\\"io.openshift.build.commit.message\\\":\\\"Merge branch 'openshift-registry' into 'master'\\\",\\\"io.openshift.build.commit.ref\\\":\\\"master\\\",\\\"io.openshift.build.source-location\\\":\\\"https://git.localdomain/test/centos-buildah.git\\\",\\\"license\\\":\\\"GPLv2\\\",\\\"name\\\":\\\"CentOS Base Image\\\",\\\"vendor\\\":\\\"CentOS\\\"}},\\\"container\\\":\\\"a4a4e4bf704c0b4ef9aef256f2f88602228c05f929788b7ab2a54a8e219c3425\\\",\\\"container_config\\\":{\\\"Hostname\\\":\\\"c7947be2eb9d\\\",\\\"Domainname\\\":\\\"\\\",\\\"User\\\":\\\"\\\",\\\"AttachStdin\\\":false,\\\"AttachStdout\\\":false,\\\"AttachStderr\\\":false,\\\"Tty\\\":false,\\\"OpenStdin\\\":false,\\\"StdinOnce\\\":false,\\\"Env\\\":[\\\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\\\",\\\"OPENSHIFT_BUILD_NAME=centos-buildah-6\\\",\\\"OPENSHIFT_BUILD_NAMESPACE=test\\\",\\\"OPENSHIFT_BUILD_SOURCE=https://git.localdomain/test/centos-buildah.git\\\",\\\"OPENSHIFT_BUILD_COMMIT=338caa77213aa797a92794e600a1f2c746a045ee\\\"],\\\"Cmd\\\":[\\\"/bin/sh\\\",\\\"-c\\\",\\\"#(nop) \\\",\\\"LABEL io.openshift.build.commit.ref=master io.openshift.build.commit.message=Merge branch 'openshift-registry' into 'master' io.openshift.build.source-location=https://git.localdomain/test/centos-buildah.git io.openshift.build.commit.author=Foo User \\\\\\\\u003cfoo@localhost.localdomain\\\\\\\\u003e io.openshift.build.commit.date=Thu Mar 22 16:36:55 2018 -0400 io.openshift.build.commit.id=338caa77213aa797a92794e600a1f2c746a045ee\\\"],\\\"ArgsEscaped\\\":true,\\\"Image\\\":\\\"sha256:03b056c907197cc51baca684cfab7928e63a2034f96334c15da428da4f4987c3\\\",\\\"Volumes\\\":null,\\\"WorkingDir\\\":\\\"\\\",\\\"Entrypoint\\\":null,\\\"OnBuild\\\":[],\\\"Labels\\\":{\\\"build-date\\\":\\\"20170801\\\",\\\"io.openshift.build.commit.author\\\":\\\"Foo User \\\\\\\\u003cfoo@localhost.localdomain\\\\\\\\u003e\\\",\\\"io.openshift.build.commit.date\\\":\\\"Thu Mar 22 16:36:55 2018 -0400\\\",\\\"io.openshift.build.commit.id\\\":\\\"338caa77213aa797a92794e600a1f2c746a045ee\\\",\\\"io.openshift.build.commit.message\\\":\\\"Merge branch 'openshift-registry' into 'master'\\\",\\\"io.openshift.build.commit.ref\\\":\\\"master\\\",\\\"io.openshift.build.source-location\\\":\\\"https://git.localdomain/test/centos-buildah.git\\\",\\\"license\\\":\\\"GPLv2\\\",\\\"name\\\":\\\"CentOS Base Image\\\",\\\"vendor\\\":\\\"CentOS\\\"}},\\\"created\\\":\\\"2018-03-22T20:38:52.056958533Z\\\",\\\"docker_version\\\":\\\"17.06.0-ce\\\",\\\"id\\\":\\\"24b1ceb8bcbf757d35185805bac655ddd0182b5affcf1cd2b3f06badf9602caa\\\",\\\"os\\\":\\\"linux\\\",\\\"parent\\\":\\\"1bf268e54141f52fca759cef6bc5d18cf14d1bec7a2f4d19430cfe8ee63675e0\\\",\\\"throwaway\\\":true}\"\n      },\n      {\n         \"v1Compatibility\": \"{\\\"id\\\":\\\"1bf268e54141f52fca759cef6bc5d18cf14d1bec7a2f4d19430cfe8ee63675e0\\\",\\\"parent\\\":\\\"d9b052a2eefe7376e556a5ec4133bdeb6936bc501f0b5c30efe3a15e5f4cc1d7\\\",\\\"created\\\":\\\"2018-03-22T20:38:51.754573776Z\\\",\\\"container_config\\\":{\\\"Cmd\\\":[\\\"/bin/sh -c #(nop)  ENV OPENSHIFT_BUILD_NAME=centos-buildah-6 OPENSHIFT_BUILD_NAMESPACE=test OPENSHIFT_BUILD_SOURCE=https://git.localdomain/test/centos-buildah.git OPENSHIFT_BUILD_COMMIT=338caa77213aa797a92794e600a1f2c746a045ee\\\"]},\\\"throwaway\\\":true}\"\n      },\n      {\n         \"v1Compatibility\": \"{\\\"id\\\":\\\"d9b052a2eefe7376e556a5ec4133bdeb6936bc501f0b5c30efe3a15e5f4cc1d7\\\",\\\"parent\\\":\\\"05439a9b2434a35b0363073df73ab5a4314373b55663d56a480e6352e2a1f880\\\",\\\"created\\\":\\\"2018-03-22T20:38:51.411742378Z\\\",\\\"container_config\\\":{\\\"Cmd\\\":[\\\"/bin/sh -c #(nop)  CMD [\\\\\\\"/bin/sh\\\\\\\" \\\\\\\"-c\\\\\\\" \\\\\\\"/bin/bash\\\\\\\"]\\\"]},\\\"throwaway\\\":true}\"\n      },\n      {\n         \"v1Compatibility\": \"{\\\"id\\\":\\\"05439a9b2434a35b0363073df73ab5a4314373b55663d56a480e6352e2a1f880\\\",\\\"parent\\\":\\\"5fec6d2b58d3db6ef6b7ca6f05ba263908a4743d4bfd5f56f7dbab04712d51d1\\\",\\\"created\\\":\\\"2018-03-22T20:38:51.045032509Z\\\",\\\"container_config\\\":{\\\"Cmd\\\":[\\\"/bin/sh -c #(nop) COPY file:6f8a74bf55c02ec9d4b1e85b3ee3c59c143324ab72f1e368c3ffa0a71bdd9c9d in /etc/docker/certs.d/registry.localhost.localdomain/ca.crt \\\"]}}\"\n      },\n      {\n         \"v1Compatibility\": \"{\\\"id\\\":\\\"5fec6d2b58d3db6ef6b7ca6f05ba263908a4743d4bfd5f56f7dbab04712d51d1\\\",\\\"parent\\\":\\\"6da211d9b7eadee2a41fd601f41ef0a62756c2f0d20b05b9e20e21744eca8563\\\",\\\"created\\\":\\\"2018-03-22T20:38:50.461760293Z\\\",\\\"container_config\\\":{\\\"Cmd\\\":[\\\"/bin/sh -c mkdir -p /etc/docker/certs.d/registry.localhost.localdomain\\\"]}}\"\n      },\n      {\n         \"v1Compatibility\": \"{\\\"id\\\":\\\"6da211d9b7eadee2a41fd601f41ef0a62756c2f0d20b05b9e20e21744eca8563\\\",\\\"parent\\\":\\\"3d7b7187fa4403f60db13f58dfcfd6dda87197503dc01774a724c13c625b253e\\\",\\\"created\\\":\\\"2018-03-22T20:38:48.321320088Z\\\",\\\"container_config\\\":{\\\"Cmd\\\":[\\\"/bin/sh -c yum upgrade -y \\\\u0026\\\\u0026 yum -y install buildah \\\\u0026\\\\u0026 rm -rf /var/cache/yum/*\\\"]}}\"\n      },\n      {\n         \"v1Compatibility\": \"{\\\"id\\\":\\\"3d7b7187fa4403f60db13f58dfcfd6dda87197503dc01774a724c13c625b253e\\\",\\\"parent\\\":\\\"0dbd303bf3506022774df40d223064191392f1cd228448358500ad6e59345b2d\\\",\\\"created\\\":\\\"2017-08-03T21:34:56.600704666Z\\\",\\\"container_config\\\":{\\\"Cmd\\\":[\\\"/bin/sh -c #(nop)  CMD [\\\\\\\"/bin/bash\\\\\\\"]\\\"]},\\\"throwaway\\\":true}\"\n      },\n      {\n         \"v1Compatibility\": \"{\\\"id\\\":\\\"0dbd303bf3506022774df40d223064191392f1cd228448358500ad6e59345b2d\\\",\\\"parent\\\":\\\"1d03f599ff50fcb3f5c16fd5d528d9ba320fbe8ec4cdaaba50f01d0ef1583151\\\",\\\"created\\\":\\\"2017-08-03T21:34:55.624825166Z\\\",\\\"container_config\\\":{\\\"Cmd\\\":[\\\"/bin/sh -c #(nop)  LABEL name=CentOS Base Image vendor=CentOS license=GPLv2 build-date=20170801\\\"]},\\\"throwaway\\\":true}\"\n      },\n      {\n         \"v1Compatibility\": \"{\\\"id\\\":\\\"1d03f599ff50fcb3f5c16fd5d528d9ba320fbe8ec4cdaaba50f01d0ef1583151\\\",\\\"created\\\":\\\"2017-08-03T21:34:51.580892197Z\\\",\\\"container_config\\\":{\\\"Cmd\\\":[\\\"/bin/sh -c #(nop) ADD file:63492ba809361c51e75605d70390b549ff1187076b6d00485a1a0bb175daa40e in / \\\"]}}\"\n      }\n   ],\n   \"signatures\": [\n      {\n         \"header\": {\n            \"jwk\": {\n               \"crv\": \"P-256\",\n               \"kid\": \"NFHB:CNRV:RVB3:V5UH:SLAE:LH3A:XHJ4:4V2Y:TNBU:MC6D:6RP6:KV7A\",\n               \"kty\": \"EC\",\n               \"x\": \"yYRYZUTXwZwbZJuFnMWUyYaBNKRsM4XSYMuJx-iEFs4\",\n               \"y\": \"iHHZ3KyO963Vzsh67HKPTqTKuSdpoI4loVpEjsjwIDk\"\n            },\n            \"alg\": \"ES256\"\n         },\n         \"signature\": \"A9d1x7nI8fICraMesdigJvTPqKg81badXbfyQb7-rcgDjFYRlgwIABbnuA8FFKy51xes9N_M3eNSpnna1-TB7Q\",\n         \"protected\": \"eyJmb3JtYXRMZW5ndGgiOjgwODcsImZvcm1hdFRhaWwiOiJDbjAiLCJ0aW1lIjoiMjAxOC0wNS0xM1QwNDo1NjoxMFoifQ\"\n      }\n   ]\n}",
    "Container": "",
    "ContainerID": "",
    "MountPoint": "",
    "ProcessLabel": "",
    "MountLabel": "",
    "ImageAnnotations": null,
    "ImageCreatedBy": "",
    "OCIv1": {
        "created": "2018-03-22T20:38:52.056958533Z",
        "architecture": "amd64",
        "os": "linux",
        "config": {
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "OPENSHIFT_BUILD_NAME=centos-buildah-6",
                "OPENSHIFT_BUILD_NAMESPACE=test",
                "OPENSHIFT_BUILD_SOURCE=https://git.localdomain/test/centos-buildah.git",
                "OPENSHIFT_BUILD_COMMIT=338caa77213aa797a92794e600a1f2c746a045ee"
            ],
            "Cmd": [
                "/bin/sh",
                "-c",
                "/bin/bash"
            ],
            "WorkingDir": "/",
            "Labels": {
                "build-date": "20170801",
                "io.openshift.build.commit.author": "Foo User \\u003cfoo@localhost.localdomain\\u003e",
                "io.openshift.build.commit.date": "Thu Mar 22 16:36:55 2018 -0400",
                "io.openshift.build.commit.id": "338caa77213aa797a92794e600a1f2c746a045ee",
                "io.openshift.build.commit.message": "Merge branch 'openshift-registry' into 'master'",
                "io.openshift.build.commit.ref": "master",
                "io.openshift.build.source-location": "https://git.localdomain/test/centos-buildah.git",
                "license": "GPLv2",
                "name": "CentOS Base Image",
                "vendor": "CentOS"
            }
        },
        "rootfs": {
            "type": "layers",
            "diff_ids": []
        },
        "history": [
            {
                "created": "2017-08-03T21:34:51.580892197Z",
                "created_by": "/bin/sh -c #(nop) ADD file:63492ba809361c51e75605d70390b549ff1187076b6d00485a1a0bb175daa40e in / "
            },
            {
                "created": "2017-08-03T21:34:55.624825166Z",
                "created_by": "/bin/sh -c #(nop)  LABEL name=CentOS Base Image vendor=CentOS license=GPLv2 build-date=20170801",
                "empty_layer": true
            },
            {
                "created": "2017-08-03T21:34:56.600704666Z",
                "created_by": "/bin/sh -c #(nop)  CMD [\"/bin/bash\"]",
                "empty_layer": true
            },
            {
                "created": "2018-03-22T20:38:48.321320088Z",
                "created_by": "/bin/sh -c yum upgrade -y && yum -y install buildah && rm -rf /var/cache/yum/*"
            },
            {
                "created": "2018-03-22T20:38:50.461760293Z",
                "created_by": "/bin/sh -c mkdir -p /etc/docker/certs.d/registry.localhost.localdomain"
            },
            {
                "created": "2018-03-22T20:38:51.045032509Z",
                "created_by": "/bin/sh -c #(nop) COPY file:6f8a74bf55c02ec9d4b1e85b3ee3c59c143324ab72f1e368c3ffa0a71bdd9c9d in /etc/docker/certs.d/registry.localhost.localdomain/ca.crt "
            },
            {
                "created": "2018-03-22T20:38:51.411742378Z",
                "created_by": "/bin/sh -c #(nop)  CMD [\"/bin/sh\" \"-c\" \"/bin/bash\"]",
                "empty_layer": true
            },
            {
                "created": "2018-03-22T20:38:51.754573776Z",
                "created_by": "/bin/sh -c #(nop)  ENV OPENSHIFT_BUILD_NAME=centos-buildah-6 OPENSHIFT_BUILD_NAMESPACE=test OPENSHIFT_BUILD_SOURCE=https://git.localdomain/test/centos-buildah.git OPENSHIFT_BUILD_COMMIT=338caa77213aa797a92794e600a1f2c746a045ee",
                "empty_layer": true
            },
            {
                "created": "2018-03-22T20:38:52.056958533Z",
                "created_by": "/bin/sh -c #(nop)  LABEL io.openshift.build.commit.ref=master io.openshift.build.commit.message=Merge branch 'openshift-registry' into 'master' io.openshift.build.source-location=https://git.localdomain/test/centos-buildah.git io.openshift.build.commit.author=Foo User \\u003cfoo@localhost.localdomain\\u003e io.openshift.build.commit.date=Thu Mar 22 16:36:55 2018 -0400 io.openshift.build.commit.id=338caa77213aa797a92794e600a1f2c746a045ee",
                "empty_layer": true
            }
        ]
    },
    "Docker": {
        "id": "24b1ceb8bcbf757d35185805bac655ddd0182b5affcf1cd2b3f06badf9602caa",
        "created": "2018-03-22T20:38:52.056958533Z",
        "container": "a4a4e4bf704c0b4ef9aef256f2f88602228c05f929788b7ab2a54a8e219c3425",
        "container_config": {
            "Hostname": "c7947be2eb9d",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "OPENSHIFT_BUILD_NAME=centos-buildah-6",
                "OPENSHIFT_BUILD_NAMESPACE=test",
                "OPENSHIFT_BUILD_SOURCE=https://git.localdomain/test/centos-buildah.git",
                "OPENSHIFT_BUILD_COMMIT=338caa77213aa797a92794e600a1f2c746a045ee"
            ],
            "Cmd": [
                "/bin/sh",
                "-c",
                "/bin/bash"
            ],
            "ArgsEscaped": true,
            "Image": "sha256:03b056c907197cc51baca684cfab7928e63a2034f96334c15da428da4f4987c3",
            "Volumes": null,
            "WorkingDir": "/",
            "Entrypoint": null,
            "OnBuild": [],
            "Labels": {
                "build-date": "20170801",
                "io.openshift.build.commit.author": "Foo User \\u003cfoo@localhost.localdomain\\u003e",
                "io.openshift.build.commit.date": "Thu Mar 22 16:36:55 2018 -0400",
                "io.openshift.build.commit.id": "338caa77213aa797a92794e600a1f2c746a045ee",
                "io.openshift.build.commit.message": "Merge branch 'openshift-registry' into 'master'",
                "io.openshift.build.commit.ref": "master",
                "io.openshift.build.source-location": "https://git.localdomain/test/centos-buildah.git",
                "license": "GPLv2",
                "name": "CentOS Base Image",
                "vendor": "CentOS"
            }
        },
        "config": {
            "Hostname": "c7947be2eb9d",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "OPENSHIFT_BUILD_NAME=centos-buildah-6",
                "OPENSHIFT_BUILD_NAMESPACE=test",
                "OPENSHIFT_BUILD_SOURCE=https://git.localdomain/test/centos-buildah.git",
                "OPENSHIFT_BUILD_COMMIT=338caa77213aa797a92794e600a1f2c746a045ee"
            ],
            "Cmd": [
                "/bin/sh",
                "-c",
                "/bin/bash"
            ],
            "ArgsEscaped": true,
            "Image": "sha256:03b056c907197cc51baca684cfab7928e63a2034f96334c15da428da4f4987c3",
            "Volumes": null,
            "WorkingDir": "/",
            "Entrypoint": null,
            "OnBuild": [],
            "Labels": {
                "build-date": "20170801",
                "io.openshift.build.commit.author": "Foo User \\u003cfoo@localhost.localdomain\\u003e",
                "io.openshift.build.commit.date": "Thu Mar 22 16:36:55 2018 -0400",
                "io.openshift.build.commit.id": "338caa77213aa797a92794e600a1f2c746a045ee",
                "io.openshift.build.commit.message": "Merge branch 'openshift-registry' into 'master'",
                "io.openshift.build.commit.ref": "master",
                "io.openshift.build.source-location": "https://git.localdomain/test/centos-buildah.git",
                "license": "GPLv2",
                "name": "CentOS Base Image",
                "vendor": "CentOS"
            }
        },
        "architecture": "amd64",
        "os": "linux",
        "parent": "1bf268e54141f52fca759cef6bc5d18cf14d1bec7a2f4d19430cfe8ee63675e0",
        "rootfs": {
            "type": "layers"
        },
        "history": [
            {
                "created": "2017-08-03T21:34:51.580892197Z",
                "created_by": "/bin/sh -c #(nop) ADD file:63492ba809361c51e75605d70390b549ff1187076b6d00485a1a0bb175daa40e in / "
            },
            {
                "created": "2017-08-03T21:34:55.624825166Z",
                "created_by": "/bin/sh -c #(nop)  LABEL name=CentOS Base Image vendor=CentOS license=GPLv2 build-date=20170801",
                "empty_layer": true
            },
            {
                "created": "2017-08-03T21:34:56.600704666Z",
                "created_by": "/bin/sh -c #(nop)  CMD [\"/bin/bash\"]",
                "empty_layer": true
            },
            {
                "created": "2018-03-22T20:38:48.321320088Z",
                "created_by": "/bin/sh -c yum upgrade -y && yum -y install buildah && rm -rf /var/cache/yum/*"
            },
            {
                "created": "2018-03-22T20:38:50.461760293Z",
                "created_by": "/bin/sh -c mkdir -p /etc/docker/certs.d/registry.localhost.localdomain"
            },
            {
                "created": "2018-03-22T20:38:51.045032509Z",
                "created_by": "/bin/sh -c #(nop) COPY file:6f8a74bf55c02ec9d4b1e85b3ee3c59c143324ab72f1e368c3ffa0a71bdd9c9d in /etc/docker/certs.d/registry.localhost.localdomain/ca.crt "
            },
            {
                "created": "2018-03-22T20:38:51.411742378Z",
                "created_by": "/bin/sh -c #(nop)  CMD [\"/bin/sh\" \"-c\" \"/bin/bash\"]",
                "empty_layer": true
            },
            {
                "created": "2018-03-22T20:38:51.754573776Z",
                "created_by": "/bin/sh -c #(nop)  ENV OPENSHIFT_BUILD_NAME=centos-buildah-6 OPENSHIFT_BUILD_NAMESPACE=test OPENSHIFT_BUILD_SOURCE=https://git.localdomain/test/centos-buildah.git OPENSHIFT_BUILD_COMMIT=338caa77213aa797a92794e600a1f2c746a045ee",
                "empty_layer": true
            },
            {
                "created": "2018-03-22T20:38:52.056958533Z",
                "created_by": "/bin/sh -c #(nop)  LABEL io.openshift.build.commit.ref=master io.openshift.build.commit.message=Merge branch 'openshift-registry' into 'master' io.openshift.build.source-location=https://git.localdomain/test/centos-buildah.git io.openshift.build.commit.author=Foo User \\u003cfoo@localhost.localdomain\\u003e io.openshift.build.commit.date=Thu Mar 22 16:36:55 2018 -0400 io.openshift.build.commit.id=338caa77213aa797a92794e600a1f2c746a045ee",
                "empty_layer": true
            }
        ]
    },
    "DefaultMountsFilePath": ""
}