Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 2. 'docker update' command, although I would have preferred 'docker limit'. Ability to change container limits at runtime: - CPUQuota - CpusetCpus - CpusetMems - Memory - MemorySwap - MemoryReservation - KernelMemory

This is not correct. You cannot change kernel memory limits on Linux after processes have been started (disclaimer: I've done a bunch of work with the runC code that deals with this in order to add support for the pids cgroup). You can update everything else though.



Thanks. Indeed, an attempt to set kernel memory on a running container will return an error.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: