1. 程式人生 > >解決刪除映象時'image is referenced in multiple repositories'

解決刪除映象時'image is referenced in multiple repositories'

1.檢視映象

2.刪除nginx映象,顯示'image is referenced in multiple repositories'

再看1中IMAGE ID為7042885a156a的nginx指向兩個repository,所以刪除失敗了

3.這時我們要指定repository和tag刪除

4.再次檢視映象,repository為nginx的映象已被刪除