New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Volumes left orphaned when not all refering containers use -v
#14622
Comments
Hi! Please read this important information about creating issues. If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead. If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information. This is an automated, informational response. Thank you. For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues BUG REPORT INFORMATIONUse the commands below to provide key information from your environment:
Provide additional environment details (AWS, VirtualBox, physical, etc.): List the steps to reproduce the issue: Describe the results you received: Describe the results you expected: Provide additional info you think is important: ----------END REPORT --------- #ENEEDMOREINFO |
|
Hi thanks for reporting. |
OK, thanks. Out of curiosity, where is the "flag" present that keeps the volume not deleted even when the last container is removed with |
@jest Yes, in Restarting the daemon would resolve this issue for you, since this is all kept in memory only. |
OK, I see. So restarting the daemon before the last |
Closing as this is now fixed. |
The docs say that the volume will be removed when the last referring container uses
rm -v
. However, this doesn't happen when previously some containers were removed without-v
switch:docker info
:The text was updated successfully, but these errors were encountered: