3 ms·
> Me: Hey Boss, it's time to containerise legacy application x! > Boss: Sounds like a good idea. > Me: Ok, so we need a complete redesign into microservices t
by orf 10y ago
> Me: Hey Boss, it's time to containerise legacy application x!
> Boss: Sounds like a good idea.
> Me: Ok, so we need a complete redesign into microservices to be 100% webscale, let's split it into 30 smaller projects then we can deploy it with swarm or kubernetes or whatever. Give me a team, 3 months and plenty of coffee.
> Boss: It's a fricking legacy CRUD app. Just shove the thing in a dockerfile and move on.
- 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]