当前位置:网站首页>删除容器镜像报错解决image is referenced in multiple repositories
删除容器镜像报错解决image is referenced in multiple repositories
2022-07-28 20:46:00 【5xp_2001】
环境版本:
docker version
Client: Docker Engine - Community
Version: 20.10.6
cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
报错解决:
Error response from daemon: conflict: unable to delete c0e850d7b9bb (must be forced) - image is referenced in multiple repositories
Error response from daemon: conflict: unable to delete c0e850d7b9bb (must be forced) - image is referenced in multiple repositories
[[email protected] ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
tomcat 9.0 c0e850d7b9bb 2 months ago 667MB
tomcat latest c0e850d7b9bb 2 months ago 667MB
[[email protected] ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
tomcat 9.0 c0e850d7b9bb 2 months ago 667MB
tomcat latest c0e850d7b9bb 2 months ago 667MB
[[email protected] ~]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[[email protected] ~]# docker rmi tomcat:9.0
Untagged: tomcat:9.0
[[email protected] ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
tomcat latest c0e850d7b9bb 2 months ago 667MB
[[email protected] ~]# docker rmi tomcat
Untagged: tomcat:latest
Untagged: [email protected]:0509684774ac53d8b152f4a50dd92889218a8633c0feddb4b35d092e55cd215d
Deleted: sha256:c0e850d7b9bb0aa55db12991bd0fe825cdab4f5d4be72b2a94cc760bcc3aa82f
Deleted: sha256:de48848504882240b92b703da9601af0709e38a64a9a40a07109b78446aa9e95
Deleted: sha256:1a0e354e31a0ab7456bbad4f060ea6c6f7ab7b144dc74c874bf689c7e519e27c
Deleted: sha256:cd25cd758181de964bdfb328f5c630c25263557f5a46793356c93e0e369af7a4
Deleted: sha256:b824ca3e73f4984338fc3eb212702bcadd7770320c8297fc21b2d1d265146d16
Deleted: sha256:d8b838beea6f90d6556650b670930f58d16bf0007b1a7d9effe3dd1735fdfa8d
Deleted: sha256:3f61a2fb8ca663bf88786884ba5f5be3274c91ee82c1ae9bb36bb1ad1fa0b3d0
Deleted: sha256:ac996dca9c2f86e5d2744187de88cd328f12dde417a7950dff33448906228ae3
Deleted: sha256:e4ed057c6550560fb44b9146dadd5c62bfc00404ba69937c89a44e10485c9010
Deleted: sha256:985d0a2cd810a6fc7b68886aee94ee060acd63e122a1def04370dac5fa9d05f6
Deleted: sha256:e2c6ff46235709f5178ab7c1939f4fba7237ffde84e13b1582fa5f0837c1d978
[[email protected] ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
原因:
同一镜像有多tag
边栏推荐
猜你喜欢

JMeter installs third-party plug-ins plugins Manager

How about the actual use effect of common source oscilloscope

Learning notes and summary of C language programming specification

Sword finger offer II 054. Sum of all values greater than or equal to nodes (medium binary search tree DFS)

105. Construct binary tree from preorder and inorder traversal sequence (medium binary tree DFS hash table binary tree)

79. Word search (medium string array matrix backtracking)

Hcip seventh experiment

记录Flutter解决A RenderFlex overflowed by 7.3 pixels on the bottom溢出问题

The person in charge of Tencent cloud database borrowed 100 million yuan to speculate in stocks? Insider: the amount is not true

Establishment of Ruiji takeout development environment
随机推荐
What is a prime factor? In number theory, a prime factor (prime factor or prime factor) refers to a prime number that can divide a given positive integer
Sword finger offer II 057. the difference between the value and the subscript is within the given range (medium array bucket sort sliding window TreeSet)
2021年数学建模B组代码
What are the main functions and uses of LCR tester
04. Default value of toref
What is the difference between inline elements and block level elements? Semantic function
LCR测试仪最为主要的功能和用途都是什么
HCIP第七次实验
hcip实验(15)
TensorFlow Serving 高性能的机器学习模型服务系统
How to realize dynamic route switching and route caching in vuejs
软考网络工程师
深度学习必备:对数据集的拆分、根据拆分图片拆分labels、对全部标注标签进行区间检查
HCIP(15)
[Ruiji takeout] day05 package management business development
HCIP(9)
Brief introduction to PCB materials
Differences of display values
CDN工作原理
Less than a year after its establishment! MIT derivative quantum computing company completed financing of US $9million