`docker rmi` tries to delete image with empty string (that does not exist)

When I’m trying to delete any of my images, docker does that thing :

$ docker rmi 5aeb37c1fd00
Error response from daemon: image ID '' is invalid
Error: failed to remove images: [5aeb37c1fd00]

as you can see, it is complaining about an image with empty string name that it cannot delete.
If it matters, my docker is installed on vagrant machine with Red Hat 64-bit OS.
That error came by from yesterday. 2-3 days ago everything worked perfectly.

  • How to create named and latest tag in Docker?
  • Docker Base Simple image : Cannot start container XXX: exec: “cat”: executable file not found in $PATH
  • Not able to connect to the Docker server running on another Linux system
  • What's not possible to do in a Docker container?
  • Docker network with AWS VPC
  • Docker and Drupal 8 - settings.php
  • more additional information:

    $ docker version
    Client version: 1.7.1
    Client API version: 1.19
    Go version (client): go1.4.2
    Git commit (client): 786b29d
    OS/Arch (client): linux/amd64
    Server version: 1.7.1
    Server API version: 1.19
    Go version (server): go1.4.2
    Git commit (server): 786b29d
    OS/Arch (server): linux/amd64
    

    Thanks.

  • docker-compose isn't installing bower components inside the docker container
  • Make Dockerfile VOLUME behave like docker-compose volumes
  • Docker bridge not showing - is it optional or incorrectly configured?
  • How do I reload haproxy.cfg on the default Dockerfile?
  • allow rabbitmq slave to join master
  • Bash unable to create directory
  • 2 Solutions collect form web for “`docker rmi` tries to delete image with empty string (that does not exist)”

    I believe this is a bug in older docker versions. The error message is misleading. I suggest you upgrade to the latest version of docker, the bug has been fixed.

    just close it. I just deleted all the local docker data storage (containers directory, etc.) and downloaded the images again.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.