<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi!<div><br></div><div>I tried the tool Buildah (<a href="https://www.projectatomic.io/blog/2017/06/introducing-buildah/">https://www.projectatomic.io/blog/2017/06/introducing-buildah/</a>) to build containers without having docker binary. Containers are built (not sure if they work), but I can't upload them to the pulp repo:</div><div><br></div><div>1) I copy container from "container-storage:" to "dir:", then create tar archive per <a href="https://docs.pulpproject.org/plugins/pulp_docker/user-guide/recipes.html#upload-v2-schema-2-and-schema-1-images-to-pulp">https://docs.pulpproject.org/plugins/pulp_docker/user-guide/recipes.html#upload-v2-schema-2-and-schema-1-images-to-pulp</a></div><div>2) pulp-admin -vvv docker repo uploads upload --repo-id docker_centos7 -f centos7.tar</div><div><br></div><div>[2] results in:</div><div><div>  "traceback": "Traceback (most recent call last):\n  File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 367, in trace_task\n    R = retval = fun(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 529, in __call__\n    return super(Task, self).__call__(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 107, in __call__\n    return super(PulpTask, self).__call__(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 622, in __protected_call__\n    return self.run(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/managers/content/upload.py\", line 223, in import_uploaded_unit\n    unit_type=unit_type_id, summary=result['summary'], details=result['details']\nPulpCodedException: The importer docker_importer indicated a failed response when uploading docker_manifest unit to repository docker_centos7.\n", </div></div><div><br></div><div><div>  "error": {</div><div>    "code": "PLP0047", </div><div>    "data": {</div><div>      "unit_type": "docker_manifest", </div><div>      "importer_id": "docker_importer", </div><div>      "repo_id": "docker_centos7", </div><div>      "details": {}, </div><div>      "summary": [</div><div>        "Cannot resolve field \"digest\""</div><div>      ]</div><div>    }, </div><div>    "description": "The importer docker_importer indicated a failed response when uploading docker_manifest unit to repository docker_centos7.", </div></div><div><div><br></div><div>I tried both v2s2 and v2s1, both don't work. I tried 2 different Dockerfiles and both produce the same error.</div><div><br></div><div>Is it an issue in Buildah or in Pulp? Or am I doing something wrong?</div><div><br></div><div>Thanks!</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Konstantin Khankin<br></div></div></div></div></div></div></div></div>