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