implement "-c" option to allocate a number of CPU shares to a container

This commit is contained in:
Jérôme Petazzoni
2013-05-07 11:16:30 -07:00
parent a2b5196061
commit efd9becb78
7 changed files with 19 additions and 2 deletions
+1
View File
@@ -486,6 +486,7 @@ func CompareConfig(a, b *Config) bool {
a.User != b.User ||
a.Memory != b.Memory ||
a.MemorySwap != b.MemorySwap ||
a.CpuShares != b.CpuShares ||
a.OpenStdin != b.OpenStdin ||
a.Tty != b.Tty {
return false