Hi Thushara,

You can use -f option [1]

[1] https://github.com/docker/docker/issues/1926

On Fri, Sep 26, 2014 at 3:49 PM, Thushara Ranawaka <[email protected]>
wrote:

> I created a container and deployed images below.
>
> stratos@Dev-PC:/media/sf_docker_vm/couchdb-cartridge$ docker images
> REPOSITORY                             TAG                 IMAGE ID           
>  CREATED             VIRTUAL SIZE10.0.2.15:5042/couchdb-cartridge       
> latest              1bbc29d7cf4a        41 hours ago        785.2 MB
> couchdb-cartridge                      latest              1bbc29d7cf4a       
>  41 hours ago        785.2 MB192.168.57.30:5042/couchdb-cartridge   latest    
>           1bbc29d7cf4a        41 hours ago        785.2 
> MB192.168.57.30:5042/tomcat-cartridge    latest              a25a79ecc37f     
>    3 weeks ago         463.4 MB
> tomcat-cartridge                       latest              a25a79ecc37f       
>  3 weeks ago         463.4 MB192.168.57.30:5042/mysql-cartridge     latest    
>           ab1dac84c735        3 weeks ago         802 MB
> mysql-cartridge                        latest              ab1dac84c735       
>  3 weeks ago         802 MB192.168.57.30:5042/php-cartridge       latest      
>         809d2a1ebaf0        3 weeks ago         668.3 MB
> php-cartridge                          latest              809d2a1ebaf0       
>  3 weeks ago         668.3 MB
> docker-registry                        latest              a158e64ae76a       
>  5 weeks ago         596.2 MB
> docker-busybox                         latest              2eb418e07fd5       
>  5 weeks ago         4.964 MB10.0.2.15:5042/docker-busybox          latest    
>           2eb418e07fd5        5 weeks ago         4.964 MB
> ubuntu                                 12.04               822a01ae9a15       
>  6 weeks ago         108.1 MB
>
> I wanted to remove 1bbc29d7cf4a image and it wan't let me to delete it
> saying:
>
> stratos@Dev-PC:/media/sf_docker_vm/couchdb-cartridge$ docker rmi 1bbc29d7cf4a
> Error: Conflict, cannot delete image 1bbc29d7cf4a because it is tagged in 
> multiple repositories
> 2014/09/26 12:38:50 Error: failed to remove one or more images
>
> Some how i follow this question
> <http://stackoverflow.com/questions/21398087/how-to-delete-dockers-images>[2] 
> and
> still Im getting above error. Bellow are the steps that I follow.
>
> docker ps
> docker stop <containerid>
> docker rm <containerid>
> docker rmi <imageid>
>
> can someone help me to delete this images?
> [1]-
> http://stackoverflow.com/questions/26054391/failing-to-delete-dockers-images-after-terminating-the-container
> [2]-
> http://stackoverflow.com/questions/21398087/how-to-delete-dockers-images
> --
> Thushara Kasun Ranawaka
> Software Engineer
> WSO2 Inc.; <http://www.wso2.com>
> lean.enterprise.middleware
> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
> *[email protected] <[email protected]>*
>



-- 
*Sajith Kariyawasam*


*Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
<http://wso2.com>AMIE (SL)Mobile: +94772269575*

Reply via email to