0

I have this (docker) container with a directory (e.g. /work) that I need to sync with its mirror to be on the host (e.g. ~/work). Normally, I would simply bind mount with docker run -v ~/work:/work ... which bind mounts inside the docker namespace to bridge from, and to, the container with the host.

But here is the twist : /work (inside the container) is already an internal mount for the purposes of the containerized application. On startup, the app clobbers /dev/myhdd on /work type ext4 with its /ffs on /work type fuse.ffs.

Perhaps there is some way to "reverse bind mount" (mount on host namespace instead of the container namespace) instead ? If not, is there some workaround ?

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.