Docker Community Forums

Share and learn in the Docker community.

Access volumes from Host


(Kassner) #1

Hi,

There is a way to access volume files from OSX? When running Docker on Ubuntu this is possible through /var/lib/docker/volumes/VOLUMEUUID/_data.

Or maybe just SSHing the Linux running on xhyve? How can I achieve that?

Thanks!


(Djui) #2

The current way to achieve this is by:

  1. running screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
  2. Log in as root
  3. See all volume mounted files flat in / (e.g. ls -lh /home/jenkins/workspace/)

(Djui) #3

For further information also see https://beta.docker.com/docs/mac/osxfs