docker-compose出现错误:Creating fail with Could not find container for entity id <id>

这个问题相当古怪。。。是在我升级docker,来回折腾的时候产生的,而且非常难搞,删也删不掉对应的container,又没法补上,终于google了半天,发现有人在docker的github上面给出了一个相当简单粗暴又十分有效的方案,真是人挡杀人,佛挡杀佛。。。。


For people using docker in more of a production-like environment and don't want to rm the world, I just did this and it worked:

sudo sqlite3 /var/lib/docker/linkgraph.db
delete from edge where entity_id = '<conflicting-entity-id-sha-1>';
delete from entity where id = '<conflicting-entity-id-sha-1>';

Where is the entity id causing you trouble like: 33f6f30a91eb31a86e9c715a1fba4cc28c8031ab62826d93c799e3849c341d26


奉上原文地址:https://github.com/docker/docker/issues/17691

阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

docker-compose出现错误:Creating fail with Could not find container for entity id <id>

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭