Accessing docker volumes from the OSX Host

Is it possible to access these volumes directly on the OS X filesystem?

My use case is having a set of NPM modules installed inside the container and also be able to symlink them into a directory. I see the ouput of docker inspect shows paths which I assume are internal to the VM.

Cheers,
Joshua

No, and it’s not really possible on Linux either.

Filesystems don’t really ever cross container boundaries, except in the case specific case of volumes shared between containers.

Fair enough! Thanks.

For now I came up with the solution to mount a host volume in the container and copy files to it by running a command post-start.