opscode/chef-provisioning-docker — pull request #16 by matiasdecarli (2014-11-07 01:15:33+00:00)
Title: Destroying images

Rigth now there is a bug when trying to destroy images.
Here is the problem
```
Chef::Log.debug("Destroying image: chef:#{container_name}")
image = Docker::Image.get("chef:#{container_name}")
image.delete
```
But in docker-api docs says that we should get the image by his ID
```
# Get Image from the server, with id
Docker::Image.get('df4f1bdecf40')
```