Access data, files and directories of your Docker volumes on your host

donderdag 4 augustus 2022 - 66 woorden, 1 min read

Are you looking where all the data with files are being stored on your machine outside the containers when using Docker volumes?

Have a look at this directory where you will find all the volumes:

sudo ls -la /var/lib/docker/volumes

I was looking for the data directory of my Nextcloud instance which Iā€™m running with a docker-compose file.
I found all the data in this directory:

/var/lib/docker/volumes/nextcloud_nextcloud/_data/data/sebastix/files

Thanks to this link finding the answer I was looking for. Please note that you need root permissions to access these files.


Sebastian Hagens @Sebastix
I work as creative webdeveloper & tech consultant and care about digital freedoms. Follow me:
or visit my contact page