Unable to remove docker image

Solution Unverified - Updated -

Issue

Attempting to remove an image results in a container conflict error:

$ docker rmi fbe51255ac15                 
Error: Conflict, cannot delete fbe51255ac15 because the container a0a8d8de4744 is using it, use -f to force

Environment

  • Red Hat Enterprise Linux 7
  • Docker 0.11.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content