I have certain directory in the host machine which runs docker daemon in it. The image has a certain path which points to the certain directory having some data in the host machine.
How to make the given path available to be seen by the image when it turns into a container ?
I know that I can use bind mount with readonly option but I want to make the image more portable.