Popular blog tags

Raspberry Pi:unable to delete eb4c757f7b1c (must be forced) - image is referenced in multiple repositories

Published

root@raspberrypi:~# sudo docker rmi eb4c757f7b1c
Error response from daemon: conflict: unable to delete eb4c757f7b1c (must be forced) - image is referenced in multiple repositories

 

root@raspberrypi:~# docker images
REPOSITORY                              TAG       IMAGE ID       CREATED       SIZE
homeassistant/home-assistant            latest    eb4c757f7b1c   12 days ago   1.56GB
ghcr.io/home-assistant/home-assistant   stable    eb4c757f7b1c   12 days ago   1.56GB
root@raspberrypi:~# docker ps -a
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
root@raspberrypi:~# sudo docker rmi eb4c757f7b1c
Error response from daemon: conflict: unable to delete eb4c757f7b1c (must be forced) - image is referenced in multiple repositories
root@raspberrypi:~# sudo docker rmi 
"docker rmi" requires at least 1 argument.
See 'docker rmi --help'.

Usage:  docker rmi [OPTIONS] IMAGE [IMAGE...]

Remove one or more images
root@raspberrypi:~# sudo docker rmi --help

Usage:  docker rmi [OPTIONS] IMAGE [IMAGE...]

Remove one or more images

Aliases:
  docker image rm, docker image remove, docker rmi

Options:
  -f, --force      Force removal of the image
      --no-prune   Do not delete untagged parents
root@raspberrypi:~# sudo docker rmi eb4c757f7b1c --force
Untagged: homeassistant/home-assistant:latest
Untagged: homeassistant/home-assistant@sha256:17667d8849f01fb8a34f2eecff79beb50be0394928c8c4b64853648472ebee38
Untagged: ghcr.io/home-assistant/home-assistant:stable
Untagged: ghcr.io/home-assistant/home-assistant@sha256:17667d8849f01fb8a34f2eecff79beb50be0394928c8c4b64853648472ebee38
Deleted: sha256:eb4c757f7b1c680a8742f29af7bd1003e042d8b5565d4a4dfc2078fdcd735c45
Deleted: sha256:3c5dc0c973b2c8b610099bafead8e763dc66fb15a9bdfb16f005c9a284d2fb5c
Deleted: sha256:781fc1893ecd89ca0492448a1da16f35e111f811ec18e7a0d941eba11d78c9ec
Deleted: sha256:3fe96e4bd4cf28c4b7d35f9101e8988d55ed25ed839dd4a8790f98a702a72d0f
Deleted: sha256:e62a4b42b7fa6fe8da8722c728d403da275c8e3eb1e7e52e2bf2df96c29e4a25
Deleted: sha256:12649663c0c8a5252ef973bdc114f496f46ceb3014a4ec1e92d11dd07edeef56
Deleted: sha256:1086ddfda6e8ebb8b382e07366c5b590ed8d6cc22abfdc83c6da8717705c0a5b
Deleted: sha256:c6d2ae9815631032160ad43cd7256b8258e16bee27ad318449343f7122ba1594
Deleted: sha256:ca7ae9557e286d503f4d066c25fd24a5e1993663b681df2d47b3836114146ac6
Deleted: sha256:72b93cbeb6508820a3414018c568fdf927d0581d07d89dfd48d9536ae5d09de5
Deleted: sha256:37f2918a7cca207eefd8849ad67ef881d208628fd519fb8e94df63b097a1d297
Deleted: sha256:c573765563ea5f9548c0622b191a2e68ca4c94edc4719522eb1e2a23d919b8be
Deleted: sha256:0a18a092a6c5852df5dad28097cf9149b2eb649af86922246edd991804e601bf
Deleted: sha256:146208ac86463ed007ed2c9f098e162fe03183ff73c4d15abe3cb3a7908485af
Deleted: sha256:4a96c7cd38ec2f89141e2ea8072adcf0c24aecb74c68db6ffd2ae6e4667147d6
Deleted: sha256:daa4fd27a464ff85801504d0c099987bb53223fa0bb202d3ccc2b0e517751bb6
Deleted: sha256:244b134b822e9e6ec3b3c77900232ca58b8cac555146bc765da5af6be2007623
Deleted: sha256:0966248ed17b2bf49eac0a14e6748ffb384d84bfdcc9016a615e381192c54e10
Deleted: sha256:13a8d1fd46e97dfe692c6a818d1847797ed383f1394382b7d2f3cd6a7608554b
Deleted: sha256:bdd776df270ca1288b4a355a30886581c236e00ed085a7018378e870f0bcf44c
Deleted: sha256:0b7789a3d4d5984f5cae1894d80f5cf47ef5c59ba75814e8a4e7b6aac7e55412
Deleted: sha256:18f6d0af25efe8a5fd64c1c7eb4ed33d8b2d562d187f20dbd287b5a613bd2cef
Deleted: sha256:e5dfc4764742aa249f544b8766c9617988cd4cfa9f558087dfbd8773da26b467
Deleted: sha256:dc182cb05339b4ccea4fc5af55d4cf5847
Deleted: sha256:0c8602e7c15312554bb3bd3c42c9a334c52906cd44b6981f61f0839b99873fc7
Deleted: sha256:65aae6221448b920fe4cd0159bdf755fd899c71bcac3d8826305bad6b4152f4f
Deleted: sha256:d2b65192e85938fb51dd080fe4ffe87ac6980151e4ef5057f70a868058151b74
Deleted: sha256:f7e30d945fbb46398a42cee23a9c64973f64d5796f6f3eae2cb90b3d61d8beff
Deleted: sha256:cc06917bc5cf34d993ca4cde28e44ceb3db7e4d3dcd86096f95ec9908c267934
Deleted: sha256:face2e331377fb370d06503d6e2311a9befb7794d5f3fa0ac5661ad1560abe45
root@raspberrypi:~# docker images
REPOSITORY   TAG       IMAGE ID   CREATED   SIZE
root@raspberrypi:~#