consulfs icon indicating copy to clipboard operation
consulfs copied to clipboard

docker volume?

Open efrecon opened this issue 10 years ago • 3 comments

Have you tried running this from a docker volume? It would be handy to create/access/change secrets and parameters within a cluster...

efrecon avatar Nov 19 '15 12:11 efrecon

I haven't tried combining this with Docker. It should be easy enough to create a container and run consulfs inside the container, but then the filesystem would be accessible only within the container.

What did you have in mind?

bwester avatar Nov 19 '15 22:11 bwester

My idea is to make the consul store accessible from the containers to be able to access cluster-global parameters (read configuration files) to all relevant containers. From inside the containers, this would just look like files...

efrecon avatar Nov 23 '15 07:11 efrecon

Sorry to raise a zombie, but I just found out about consulfs and yes. The trick is to mount the consulfs as a normal volume at the host level and then do a bind mount to the container.

nikatjef avatar Jul 08 '20 21:07 nikatjef