docker image rm發生錯誤 Error response from daemon: conflict: unable to remove repository reference

theKingOfNight發表於2019-01-14
┌─[thekingofnight@parrot]─[~]
└──╼ $docker image rm test
Error response from daemon: conflict: unable to remove repository reference "test" (must force) - container be0d6de6f803 is using its referenced image 6ba6db0eca40
┌─[✗]─[thekingofnight@parrot]─[~]
└──╼ $docker rm be0d6de6f803
be0d6de6f803
┌─[thekingofnight@parrot]─[~]
└──╼ $docker image rm test
Error response from daemon: conflict: unable to remove repository reference "test" (must force) - container c2a172dd37d7 is using its referenced image 6ba6db0eca40
┌─[✗]─[thekingofnight@parrot]─[~]
└──╼ $docker rm c2a172dd37d7
c2a172dd37d7
┌─[thekingofnight@parrot]─[~]
└──╼ $docker image rm test
Untagged: test:latest
Deleted: sha256:6ba6db0eca40bf5b8b404f16f16d04afa1745340ae7df181067aa10d0d7eb36a
Deleted: sha256:9a2a4ed751f6fec8ced07e67d864501d79a6c45336311da614f9039f14e7f64e
Deleted: sha256:b114c88a042ac451eeed65593274c2b0f25bc65809fbf52b6188a4249e24170f
Deleted: sha256:984f86a21f53b1442c453442a99cf56013e0074327a102aa7996d663514e1c94
Deleted: sha256:d7d692701a3132106e5cafe0ee5c5f0dc9fa8c869a756797c9f14276f6b606e9
Deleted: sha256:f12c5e4d2355812d84642d4100f6883dc0a479a80b2b6df4692f5a7402039e67
Deleted: sha256:b6a0a6a2007ee305ec7c0deaabff7d017e6db04e7d4d69b89b783735fdd45d97
Deleted: sha256:064e5245d44cc966561c93622051d849583d2acf69acabf934dc06b8834a19ca
Deleted: sha256:fb6e10bf973b841879e08f77bbc2d2cc4972828c6d5139bdb2c5da93bf8c8937
Deleted: sha256:e78f5f2111f45006b1480d731a7bdd4dbdc7d50d8d43fd5dfa175dda97ac3934
Deleted: sha256:866aaa9eeace24981159aee755c6007aca2985ccbda0531c66e15c376e79f638
Deleted: sha256:4d1db642d0f347ec1fa0c0d5d124dd0b82c4296b07b5244873eb5ba7cc58c127
Deleted: sha256:7ec30a513de1fb2afd71282ff22c5840af2f0d8c64dadc8a3cebe5917f3c5d5b
Deleted: sha256:9f131fba0383a6aaf25ecd78bd5f37003e41a4385d7f38c3b0cde352ad7676da
Deleted: sha256:cd7100a72410606589a54b932cabd804a17f9ae5b42a1882bd56d263e02b6215

一個個刪除就好

相關文章