Docker Community Forums

Share and learn in the Docker community.

Mount data from the Docker on to host


(Horiz0n) #1

I have built a Python Docker container with option:
VOLUME ["/usr/bin/python3", “/usr/bin/pip”]
What I am trying to do is to mount data from the container (Python binary) on to the host under /usr/bin/ which is read-only itself (CoreOS).
Is there any option to do this with Docker?


(David Maze) #2

No, the only direction you can go is essentially “pushing” files or directories from the host into the container, not the other way.