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
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?
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: