1. 程式人生 > >docker下刪除兩個id相同的映象

docker下刪除兩個id相同的映象

因為程式配置錯誤。生產兩個一樣的映象id。

docker rmi 映象id 

報錯:

  Error response from daemon: conflict: unable to delete e4a35914679d (must be forced) - image is referenced in one or more repositories

 

解決:

docker rmi 映象名稱:label