What a wonderful community - I am new to docker and greatly appreciate the help provided by so many here.
I am new to containers and docker but have made reasonable progress in firing up mariadb and keycloak as services running in their containers. I have configured users etc in keycloak.
I am now looking to install a specific theme in keycloak and have run into a simple requirement: provide a single file in the keycloak container, with its uid and gid set to those used in the container (and that do not exist on the host). The host is fairly vanilla linux: basically what runs on my Synology NAS (Linux myserver 4.4.302+ #69057 SMP Fri Jan 12 17:01:14 CST 2024 x86_64 GNU/Linux synology_r1000_723+)
I googled and found this excellent thread: Docker compose: mount samba volume
I intend to try as suggested in that thread in my docker compose file but wanted to ask three additional questions:
- Is it possible to mount a single file using samba?
- Does that file have to pre-exist in the container?
- I wanted to clarify that the solution as suggested in the above reference allows the uid and gid to be set to those used in the container?
I would greatly appreciate any guidance.