1
Since I started using Docker last year, to directly access the files in my container I used the following steps:
- Docker Inspect -f {{. Id}} container_id
It returns me the full id container
With the full container id I accessed the directory where the container files were located:
- cd /var/lib/Docker/aufs/mnt/container_id_full
But currently when I do it returns: file or directory not found. I found that in mnt folder there are dozens of diets with full ids names but none of them are recent containers.
I tried to see if you could find the directory using the command:
- find -name container_id_full
but finds no folder
Can anyone tell if Docker has made any modifications to this in its latest updates and if so how can I access the container files directly through the host?
OS: Linux Mint 17.3 64bits
Docker: 1.10.3
Yeah, after performing more tests I found my container in the aufs directory, gave an ls -lt and deduced what it was by the creation date and there it was but with a different container ID name as it was before, I do not know why this change, maybe security issue, or to hinder direct access to folders via host, I found the change unnecessary anyway.
– MarcosJunior