Mount Volume and access the container files from the Host for editing

I have the following scenario:

I am using the default phpmyadmin image, I use a yml file for installation, the problem or what I am not clear about is the type of volume I should use or deploy to view and edit on my Host OS (Windows ) the files that the image brings by default, to edit them and affect the container in real time… I especially need to see the directory:

  • ./bin/pma/app:/var/www/html

but instead of seeing what’s inside the container, it just overwrites itself; so I don’t have access to the config.php file and when I enter the url, it obviously doesn’t load the phpmyadmin.

At this address I find the documentation of the volumes but for me it is completely impossible to understand something like this example:

 docker volume inspect my-vol
[
    {
        "Driver": "local",
        "Labels": {},
        "Mountpoint": "/var/lib/docker/volumes/my-vol/_data",
        "Name": "my-vol",
        "Options": {},
        "Scope": "local"
    }
]

The problem with these examples is that the volume configuration structure seems to have properties, which may have predefined values… but I can’t find what the hell each property is or what it is supposed to be.

por example this property: "Mountpoint": "/var/lib/docker/volumes/my-vol/_data"

It is clear and understood that it is a mount point, but at first glance I cannot determine if it refers to a mount point within the container or in the host operating system… and below the example there is no explanatory note or a link that takes me to see in detail what this means…

It seems simple, but it is not:

docker volume create --driver local
–opt type=none
–opt device=C:/dir_to_your_path
–opt o=bind pma-code