bwester / consulfs

ConsulFS is a FUSE distributed filesystem backed by a Consul Key-Value store
Other
73 stars 11 forks source link

docker volume? #1

Open efrecon opened 8 years ago

efrecon commented 8 years ago

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

bwester commented 8 years ago

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?

efrecon commented 8 years ago

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...

nikatjef commented 4 years ago

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.