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 1258889

Summary: can't remove image by specifying its ID
Product: Red Hat Enterprise Linux 7 Reporter: Michal Minar <miminar>
Component: dockerAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED CURRENTRELEASE QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: dwalsh, lsm5, lsu, mjenner, sghosh
Target Milestone: rcKeywords: Extras, Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-07 21:50:53 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 Michal Minar 2015-09-01 13:12:49 UTC
Description of problem:
  This is a regression of bz#1209576 [2]

Version-Release number of selected component (if applicable):
  docker-1.7.1-115.el7

How reproducible:
  Hardly

Steps to Reproduce:
1. use docker - pull images, build new ones, start containers
2. try to remove any image by its ID (docker rmi 54bdc57505af)

Actual results:
  Image isn't removed with this error:
  Error response from daemon: could not find image: Prefix can't be empty

Expected results:
  Image is removed.

Additional info:
  Already fixed in docker-1.6.2-8.el7 with a patch [1] merged upstream. The patch did not make it pass a rebase to 1.7.

[1] https://github.com/docker/docker/commit/71a499022904e1da074ded3e1ed874c1b75ccf23
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1209576

Comment 3 Michal Minar 2015-09-01 13:33:13 UTC
Here's a PR with backported fix for 1.7: https://github.com/rhatdan/docker/pull/115

Comment 4 Daniel Walsh 2015-09-02 12:26:06 UTC
I update the rhel7-1.7 branch with this fix.  Did we miss the window to get this into the next RHEL release?

Comment 5 Daniel Walsh 2015-09-02 12:27:43 UTC
https://github.com/docker/docker/issues/12487
Is discussing this issue.

Comment 6 Daniel Walsh 2015-09-29 13:20:50 UTC
Fixed in docker-1.8.2