Docker Community Forums

Share and learn in the Docker community.

Is it possible to mount a host folder with overlay2 fs?


I want to mount a host folder to a container as a read-only but allow to write into this folder from the container so all writes go to a overlay2 fs layer.
Is it possible to do?

Of course, there probably is an option to make a local fs layered first abd then bind-mount it ot a container but maybe it is possible to do in docker already?