13 Examine content of a volume

To examine the content of a volume, go thru the steps

docker volume ls
ubuntu@student-0:~/ops2devops/3.Docker$ docker volume ls
DRIVER    VOLUME NAME
local     3docker_db_data
local     3docker_wordpress_data
docker volume inspect VolumeName
ubuntu@student-0:~/ops2devops/3.Docker$ docker volume inspect 3docker_db_data
[
    {
        "CreatedAt": "2022-04-19T07:44:15Z",
        "Driver": "local",
        "Labels": {
            "com.docker.compose.project": "3docker",
            "com.docker.compose.version": "1.25.0",
            "com.docker.compose.volume": "db_data"
        },
        "Mountpoint": "/var/lib/docker/volumes/3docker_db_data/_data",
        "Name": "3docker_db_data",
        "Options": null,
        "Scope": "local"
    }
]
sudo ls MountPointPath
ubuntu@student-0:~/ops2devops/3.Docker$ sudo ls /var/lib/docker/volumes/3docker_db_data/_data
auto.cnf    ca.pem           client-key.pem  ib_logfile0  ibdata1  performance_schema  public_key.pem   server-key.pem  wordpress
ca-key.pem  client-cert.pem  ib_buffer_pool  ib_logfile1  mysql    private_key.pem     server-cert.pem  sys