-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
questionUsability question, not directly related to an error with the imageUsability question, not directly related to an error with the image
Description
When I run the container using the mysql:5.7.32 image, like this:
docker run -e MYSQL_ROOT_PASSWORD=root -d mysql:5.7.32
When I run a new container every time. A new volume will be generated in the /var/lib/docker/volume directory,
I understand this because there is a data volume declared in the dockerfile file.
But I have two questions.
- What is the purpose of this anonymous volume ?
- When I started the container, the volume generated was about 200MB. I deleted the container, but the volume still exists and I need to delete it manually. What is the meaning of this design?
Metadata
Metadata
Assignees
Labels
questionUsability question, not directly related to an error with the imageUsability question, not directly related to an error with the image