You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Sometimes when I want to upgrade a container, I worry about the data being corrupted by the new container.
Describe the solution you'd like
Since cloning a volume that is currently in use, is hard, I suggest that only volumes that are not currently mounted into a container can be cloned. This repository contains two scripts that may serve as inspiration for detecting if volumens are mounted, and cloning.
It is also worth to mention that this bug advocates for including the feature in docker it self.
This discussion was converted from issue #2511 on July 27, 2023 04:24.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is your feature request related to a problem? Please describe.
Sometimes when I want to upgrade a container, I worry about the data being corrupted by the new container.
Describe the solution you'd like
Since cloning a volume that is currently in use, is hard, I suggest that only volumes that are not currently mounted into a container can be cloned.
This repository contains two scripts that may serve as inspiration for detecting if volumens are mounted, and cloning.
It is also worth to mention that this bug advocates for including the feature in docker it self.
Describe alternatives you've considered
N/A
Additional context
N/A
Beta Was this translation helpful? Give feedback.
All reactions