这是一个创建于 1937 天前的主题,其中的信息可能已经有所发展或是发生改变。
想知道 volume 正在被哪些 container 使用,怎么办??
还有个事就是,无法把卷轴挂在已经存在的容器上?只能重新运行一个新的?
2 条回复 • 2019-03-08 16:06:35 +08:00
![rizon](https://cdn.v2ex.com/avatar/8b75/b98f/305534_normal.png?m=1709479668) |
|
1
rizon 2019-03-08 15:56:19 +08:00
找到一个办法。。执行一下 docker volume rm,会提示正在被哪些容器使用。。。
|
![zhoulouzi](https://cdn.v2ex.com/gravatar/f56039ed04a4e2f1901c1b07449f6e5a?s=48&d=retro) |
|
2
zhoulouzi 2019-03-08 16:06:35 +08:00
docker inspect
|