Volume can be thought of as a directory which is accessible to the containers in a pod.

Tasks By Trainer:-

Create a httpd deployment (use image => docker.io/httpd) with:

  1. Volume name => volume-testing.
  2. Assign local /data directory to volumes. 
  3. Map that /data directory with httpd deployment /usr/local/apache2/htdocs directory.