Red Hat Bugzilla – Bug 1258889
can't remove image by specifying its ID
Last modified: 2016-01-07 16:50:53 EST
Description of problem:
This is a regression of bz#1209576 
Version-Release number of selected component (if applicable):
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)
Image isn't removed with this error:
Error response from daemon: could not find image: Prefix can't be empty
Image is removed.
Already fixed in docker-1.6.2-8.el7 with a patch  merged upstream. The patch did not make it pass a rebase to 1.7.
Here's a PR with backported fix for 1.7: https://github.com/rhatdan/docker/pull/115
I update the rhel7-1.7 branch with this fix. Did we miss the window to get this into the next RHEL release?
Is discussing this issue.
Fixed in docker-1.8.2