View entire changelog

Container cgroup Limits Now Visible Inside the Docker Executor

Jun 03, 2020

Enhancement

What’s New

Container cgroup limits are now visible when using the Docker executor. This means that container-aware build tooling will now correctly detect the number of CPUs and amount of RAM available to the job.

You can also view these numbers directly by looking at the files in the /sys/fs/cgroup directory:

  • /sys/fs/cgroup/cpu/cpu.shares
  • /sys/fs/cgroup/cpu/cpu.cfs_quota_us
  • /sys/fs/cgroup/cpu/cpu.cfs_period_us
  • /sys/fs/cgroup/memory/memory.limit_in_bytes

>Previous changes