4 ms·
Right, I agree. But with your easier Swarm setup, how do you then attach cloud disks directly to your docker container, like a PersistentVolume affords? That o
by linkmotif 9y ago
Right, I agree.
But with your easier Swarm setup, how do you then attach cloud disks directly to your docker container, like a PersistentVolume affords? That one feature makes basically anything worth it, IMO. Most apps are stateful.
- jlawer 9y agoNFS mounts, provisioned via the same configuration management platform the hardware is provisioned by (Saltstack in my case)
- Bgd1 9y agoYou use one of the Docker plugins: https://docs.docker.com/docker-for-aws/persistent-data-volumes/ https://docs.docker.com/docker-for-aws/persistent-data-volum... https://github.com/thecodeteam/rexray https://github.com/thecodeteam/rexray
- tokenizerrr 9y agoYou don't, because you're running on your own hardware, and there is no concept of cloud disks. There are some solutions like Ceph, but they're tough to setup. Usually I just pin containers to hosts. This is fine on a small setup. In fact, many of my small setups are just a single host.
- raarts 9y ago> Ceph tough to setup Try ProxMox. They have it built-in.