I have folder /opt/someName.json on the host.
I want to share this file with docker container but I do not want to copy it. I want to be able to change this file on the host and that it can be automatically used by docker container.
I want that on the host machine /opt/someName.json has mod: 770, owner:"a", user: "a" and in docker container I want that this file has mode 777, owner: "b", user: "b". User "a" and user "b" do not have same uid nor on host machine nor on docker-container.
Is this possible to be done?