Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1643603

Summary: buildah from can not recognize docker:// as a valid transports
Product: Red Hat Enterprise Linux 7 Reporter: Joy Pu <ypu>
Component: buildahAssignee: Frantisek Kluknavsky <fkluknav>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.6CC: ddarrah, dwalsh, fkluknav, lsm5, nalin, umohnani
Target Milestone: rcKeywords: Extras, Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-28 08:01:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joy Pu 2018-10-26 16:44:05 UTC
Description of problem:
When we create container with buildah from. The command line can not  parsing docker://repo/imagename and report "error parsing reference to image"

Version-Release number of selected component (if applicable):
buildah-1.4-2.git608fa84.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. buildah from docker://docker.io/library/nginx
2.
3.

Actual results:
# buildah from docker://docker.io/library/nginx
error parsing reference to image "docker://docker.io/library/nginx": error parsing image name "docker://docker.io/library/nginx": invalid reference format


Expected results:
Container can be created


Additional info:
The command line works correctly without "docker://"
# buildah from docker.io/library/nginx
nginx-working-container-3

Comment 2 Daniel Walsh 2018-10-26 16:53:18 UTC
I think this is fixed in the upstream.

Comment 3 Tom Sweeney 2018-10-26 17:16:52 UTC
This is fixed in upstream with https://github.com/containers/buildah/pull/1120 can you verify with the latest from there please?

Comment 4 Joy Pu 2018-10-26 17:23:42 UTC
(In reply to Tom Sweeney from comment #3)
> This is fixed in upstream with
> https://github.com/containers/buildah/pull/1120 can you verify with the
> latest from there please?

Yse. It is already fixed with this pullreq and upstream latest works well.

Comment 7 Lokesh Mandvekar 2018-11-01 14:52:00 UTC
I'll build a new buildah with the fix and attach to 7.6.1 erratum at https://errata.devel.redhat.com/advisory/36842

Comment 8 Lokesh Mandvekar 2018-11-05 10:44:21 UTC
Frantisek, please build new buildah

Comment 10 Joy Pu 2018-11-14 09:16:00 UTC
Test with buildah-1.4-3.gitc8ed967.el7.x86_64. And it works as expect. So set this to verified.

Comment 12 errata-xmlrpc 2018-11-28 08:01:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3711