mup 设置失败 "endpoint with name mongodb already exists in network bridge"

mup setup fails with "endpoint with name mongodb already exists in network bridge"

我在使用 mup 设置时遇到错误:

Error response from daemon: endpoint with name mongodb already exists in network bridge

我该如何解决?

原因是我手动删除了一个以前的mongodb容器,没有清理网络。

我终于成功了:

docker network disconnect bridge -f mongodb

此后 mup setup 按预期工作。