I know that in Docker when using the "local" driver a persistent volume is stored in /var/lib/docker/volume/<volume-name>/_data
.
To modify data inside the volume must I mount it in a docker container or can I safely add/modify the content of the volume directly from this path?
I don't know if the docker engine adds metadata to the volume to keep track of changes inside it. I suppose that the docker engine is not aware of any change made externally to the volume data, so I'm wondering if this could cause any trouble to the volume.