To understand how to create Docker volumes and attach them to containers for persistent data storage.
🔗 https://share.google/bzt1ikUCPlon8cJvd
In this experiment, we created Docker volumes and tested their attachment with containers.
We also observed the effect of running containers without attaching volumes.
Shows the command used to create a new Docker volume.

Displays all Docker volumes present in the system.

Shows container execution without attaching any volume.

Displays container configuration and volume status.

Shows creation of a new Docker volume.

Displays confirmation of created volumes.

Shows container started with volume attached.

Demonstrates that data is preserved using Docker volumes.

Shows the final verification of volume and container working correctly.

This experiment helped in understanding how Docker volumes work and how they help in storing data permanently.
Volumes are essential when applications require data persistence.