data-containers

Docker - How to access a volume not attached to a container?

好久不见. 提交于 2019-12-01 05:35:55
问题 I have (had) a data container which has a volume used by other containers (--volumes-from). The data container has accidentally been removed. Thankfully the volume was not removed. Is there any way I can re run the data container and point it BACK to this volume? 回答1: Is there any way can re run the data container and point it BACK to this volume? Sure, I detailed it in "How to recover data from a deleted Docker container? How to reconnect it to the data?" You need to create a new container