How to list the content of a named volume in docker 1.9+?

docker run --rm -i -v=postgres-data:/tmp/myvolume busybox find /tmp/myvolume

Explanation: Create a minimal container with tools to see the volume’s files (busybox), mount the named volume on a container’s directory (v=postgres-data:/tmp/myvolume), list the volume’s files (find /tmp/myvolume). Remove the container when the listing is done (--rm).

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)