D
DotCloud Blog
blog.dotcloud.com · Company blog · on HN since 2011
Engineering blog of dotCloud, a platform-as-a-service company that later became Docker, Inc., covering containers, kernel features and operations.
What HN saysHN commenters cite it for explanations of namespaces, cgroups, AUFS and lightweight virtualization, which help explain how Docker works.
23HN people shared it
7linked it in comments
36stories submitted
1.0Kstory points
12 years agolast shared
2011people per year2026
Most-shared posts
- 1PaaS under the hood: kernel namespaces3 people · 1 points · first shared 2013 · discussion on HN
- 2Working around the EC2 outage2 people · 68 points · first shared 2011 · 18 comments on HN
- 3Organizing a 24x7 bullet-proof on-call rotation with PagerDuty2 people · 24 points · first shared 2012 · 2 comments on HN
- 4DotCloud PaaS Joins CloudControl2 people · 6 points · first shared 2014 · discussion on HN
- 5PAAS under the hood, AUFS at dotCloud2 people · 2 points · first shared 2012 · discussion on HN
- 6Kernel secrets from the paas garage part 24 c2 people · first shared 2013
- 7The new sandbox: open-source and self-hosted1 people · 200 points · first shared 2013 · 47 comments on HN
- 8DotCloud releases support for Perl, aka Camel-as-a-Service1 people · 96 points · first shared 2011 · 51 comments on HN
- 9DotCloud gets NodeJS support1 people · 72 points · first shared 2011 · 19 comments on HN
- 10DotCloud open-sources its websocket proxy1 people · 65 points · first shared 2012 · 10 comments on HN
- 11Introducing the new dotCloud dashboard1 people · 57 points · first shared 2012 · 34 comments on HN
- 12Deploy your Go apps on dotCloud1 people · 55 points · first shared 2013 · 17 comments on HN
- 13PyPy, Jython and CPython 3 on dotCloud1 people · 45 points · first shared 2012 · 25 comments on HN
- 14Bootstrapping the open-source Sandbox on top of Docker1 people · 40 points · first shared 2013 · 15 comments on HN
- 15Deploying Django on dotCloud - an insiders story1 people · 40 points · first shared 2012 · 9 comments on HN
What HN people wrote when they linked it
chubot · 2015-01-19
Hm, I didn't realize that dotCloud was acquired after they switched to being Docker, Inc.:
http://blog.dotcloud.com/dotcloud-paas-joins-cloudcontrol
zaptheimpaler · 2014-10-18
Docker is based on LinuX Containers (LXC), which are much more lightweight than a full OS VM. Containers are basically namespaces for processes, networks so I would expect way lower overhead than a full fledged VM.
More details here - http://stackoverflow.com/a/16048358/803923
http://blog.dotcloud.com/under-the-hood-linux-kernels-on-dotcloud-part
It is a virtualization layer, but not nearly as heavyweight (and perhaps not as well isolated) as a full VM. As to the isolation - I don't know how "good" it is, but I expect it will only get better. I think this is what PG means by "do things that don't scale".
buster · 2013-05-19
Since docker uses cgroups and cgroups can limit CPU, Memory, I/O, i guess this blog post by the docker guys gives a good overview: http://blog.dotcloud.com/kernel-secrets-from-the-paas-garage-part-24-c
jpetazzo · 2013-03-20
That's correct: cgroups have no effect on permissions. They only enforce resource usage limits.
Shameless plug: I work at dotCloud, and I wrote 4 blog posts explaining namespaces, cgroups, AUFS, GRSEC, and how they are relevant to "lightweight virtualization" and the particular case of PAAS. The articles have been grouped in a PDF that you can get here if you want a good technical read for your next plane/train/whatever travel ;-) http://blog.dotcloud.com/paas-under-the-hood-ebook
shykes · 2012-03-27
chime · 2011-04-22
The worst thing for any service provider is to delay the initial confirmation that yes, something seems to be going wrong.
> http://blog.dotcloud.com/working-around-the-ec2-outage
"After one hour, Amazon's Health Dashboard was still pretending that everything was right."
There really is no negative side for someone as large as Amazon to immediately put up a quick notice that "we are receiving complaints about x-y-z and looking into it." I get pinged like crazy within minutes of one my client's servers slowing/going down - I can't imagine that Amazon doesn't know something is wrong within seconds. If it turns out that it wasn't AWS but something else (Level 3 pipe issues or Comcast DNS errors) then just clarify that later. Why make every single AWS customer panic for an hour fearing that the fault lies within their code/services?
peterwwillis · 2014-02-18
To understand Docker [0] in a complete way you first have to understand a lot of other concepts.
You need to understand what "linux containers" [1] are. To understand that you need to understand cgroups [2]. To understand cgroups you have to understand process groups/sessions [3] and namespace isolation [4], as well as how the kernel implements cgroups. [5] [6]
You need to understand what chroot [7] is. (it just prepends a path to all pathname lookups for a process and its children)
You need to understand what aufs [8] [9] is. To help understand aufs, you need to understand how union filesystems [10] work, how copy-on-write [11] works, and how virtual filesystems work [12] [13] [14].
You need to understand what rsync is [15]. To understand that you need to understand delta compression [16], and how rolling checksums [17] are used.
You should also understand things like how bash works, how processes signal each other and return status on exit, how file descriptors (like stdin/stdout/stderr) work, and other basic UNIXy concepts, to understand how other parts of docker works.
Docker is a frankenstein amalgamation of all these things, working together to allow you to basically run an arbitrary command in a way that is as isolated from your operating system as is practical while still remaining "light weight". Other solutions have other benefits or tradeoffs as evidenced here [18].
[0] http://www.activestate.com/blog/2013/06/solomon-hykes-explains-docker
[1]…