@marekgoldmann
ToruĊ JUG, 29th Oct 2014
http://www.reddit.com/r/pics/comments/nf8la/im_always_tempted_to_switch_two_random_cables_to/
http://www.shedworking.co.uk/2012/03/nuts-and-bolts-cable-ties.html
A project to manage containers.
Yes, a lightweight operating system virtualization.
It's completely different.
Virtual Machine (KVM, VMware) | Container (LXC, OpenVZ) | |
---|---|---|
Hardware | Simulated | Uses it (almost) directly |
Supported OS'es | Almost any | Only Linux |
Space | User space | Kernel space |
Separation | Full | Control Groups (cgroups) |
Startup time | Seconds to minutes | Miliseconds |
Scalability | A few | Sky is the limit (thousands) |
Custom kernel | Yes | No |
Enterprise features (live migration, etc) | Yes | No |
Ease of creation | Moderate | Easy |
Time consumption of creation | High | Low |
Size | HUGE | Small |
Source: http://goo.gl/bqb360
iptables
for network/sys/fs/cgroup/
for everything elsedocker run -c 512 [...]
docker run -m 128m [...]
nsenter
sshd
inside of the container (boooo...)--net host
Attributions: