News for hackers. Stuff that matters.
Re:Docker vs. Kubernetes vs. Mesos by cpuguy83 on Thursday August 03, 2017 @10:13PM (#14925824)
1. You can use host-mode port binding (equivalent of `docker run -p` as opposed to the routing mesh), you could also use macvlan/ipvlan to do this.

2. Indeed this is tricky right now. One way to sort-of fake it is you can do something like `--mount type=volume,source='important_data{{.Task.Slot}}'`... I'm not sure I would call this a recommendation, but worth playing with. But also I'm not sure if automatic failover of databases is truly a thing, it's just not that easy (outside of the storage aspect).

There are no comments on this comment yet.