News for hackers. Stuff that matters.
Re:Containers vs. Zones vs. Jails vs. VMs (2017) by navaati on Tuesday April 07, 2020 @08:35AM (#22802575)
Except you never do that (having your DB directory be in the container rootfs). Nobody does, because then (beside the performance/reliability impact you mention) if the container goes (docker rm) the data goes. You're always gonna use a Volume for this kind of cases, be it K8s volume or Docker volume, and these, as neighbour message mentions, are just bind mounts (or actual mounts in certain cases), so no layers, no overlay, nothing of the sort.
Re:Containers vs. Zones vs. Jails vs. VMs (2017) by MuffinFlavored on Tuesday April 07, 2020 @10:35PM (#22809527)
check out my response here: https://news.ycombinator.com/item?id=22809524

looks like docker with a bind mount has a 26% decrease in performance versus native