3 ms·
> Him: shoves thing in a dockerfile > Him: realizes that existing data is destroyed every time the app is restarted because containers are ephemerals
by user5994461 10y ago
> Him: shoves thing in a dockerfile
> Him: realizes that existing data is destroyed every time the app is restarted because containers are ephemerals
- wmf 10y agoVolumes. Containers are easy to use but they're not idiot-proof.
- user5994461 10y agoVolumes are tied to a machine. That's kinda ruining the point of docker ^^
- wmf 10y agoIt depends what volume driver you use. In general if you want an HA pet container you're going to need more than vanilla Docker.
- vidarh 10y agoSo use a volume on a Gluster or Ceph volume or similar. There are plenty of solutions. I do agree that state is a challenge, but Docker at least pushes people towards being explicit about state rather than leaving data all over the place.
- deleted 10y ago[deleted]