Docker volume in Container Registry
Docker Volume is a tool for the permanent storage of information on a VM instance. The data in the volume is stored independently of containers. If you delete a container, both its volumes and data will be preserved. Deleting a volume is a separate operation.
Volumes and Docker Compose
You can use Docker Compose to create and manage multiple volumes. When
docker-compose up is called for the first time, the defined volumes will be created. These volumes will be used in subsequent calls.
If you run a container that creates a new volume, then the content from the mount catalog will be copied to the volume. Containers that have mounted the volume will gain access to the volume data.