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 - can't remove image by specifying its ID
Summary: can't remove image by specifying its ID
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: docker
Version: 7.1
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lokesh Mandvekar
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-01 13:12 UTC by Michal Minar
Modified: 2019-03-06 01:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-07 21:50:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.