ReleaseEngineering:DockerMockComparison
From MozillaWiki
Feature | Mock | Docker |
---|---|---|
Base technology | chroot | Linux containers (lxc) |
Bind-mount host filesystem | Yes | Soon |
Separate set of RPM packages from host | Yes | Yes? |
Snapshot+share environment | No | Yes |
Maturity | Stable | Under heavy development |
Network isolation | No | Yes |
Resource isolation (CPU, RAM) | No | Yes |
Filesystem management | None | Copy-on-write (via AUFS) |
I/O, RAM, CPU, cache instrumentation | No | Yes (via cgroups) |
Ease of manipulating environment variables inside "container" | Hard | ?? |