TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The case against Docker

14 pointsby data_scientistabout 10 years ago

2 comments

falcolasabout 10 years ago
I don&#x27;t care for the tone of this article, but there are a lot of valid points here.<p>The natted networking is problemmatic, the file system is slow (particularly with many image layers), and to get good performance, you have to give up all of the isolation abilities.<p>To get good network performance, you have to use net=host; to get good disk performance, you have to mount and write to host volumes. To increase visibility, you have to use host pids.<p>I have a lot of hope that Docker will get more performance to go with the awesome isolation. It&#x27;s a useful tool in the proper circumstances, but it requires a lot of forethought and information to use well.
koffiezetabout 10 years ago
A lot of the (performance) problems are probably caused by the device mapper backend being used on CentOS... I have no performance issues at all running in production on Ubuntu 14.04 using aufs.<p>&gt; The slowness of Docker is a big pain. Build and deployment procedures are not predictable.<p>I have the absolute opposite experience. My build &amp; deployment has become very predictable, and I build pretty much all the images I use myself.<p>&gt; Data belongs onto the filesystem but not into a container that can neither be cloneed in an easy way nor incrementally backed up in a reasonable way. Containers are for software, not for data.<p>Volumes are for data. And sure they can be backed up or cloned, just launch a container that only backs up mounted volumes with --volumes-from whatever stuff you want to back up. Containers should be stateless, and yes, volumes need more attention.<p>This whole thing smells like &quot;I tried this tool and I don&#x27;t fully understand it so I&#x27;ll write a rant blog about it&quot;. Containers force you to think differently about software deployment. I started using Docker very early-on and I have never regretted putting it in production since the 0.6x days.