Docker Community Forums

Share and learn in the Docker community.

Device mapper mount points


(Fabien Balageas) #1

Hi,

Before Docker 1.5 (I am not completely sure of the version), I was able to go in Docker host’s following directory in order to directly access my container filesystem:

/var/lib/docker/devidemapper/mnt//rootfs

I don’t know if it was a “good/authorized” way to access to my container’s filesystem, but it was very convenient :o)
(I know I can use “nsenter” or even “docker exec” to achieve this also).

But now, these directories are empty since at least Docker 1.5.

Does someone know why this has changed?
And BTW, can someone tell me if it was correct/authorized to access to my container’s filesystem in such a way?

Thanks!