Skip to content

Instantly share code, notes, and snippets.

@mapk0y
Last active August 29, 2015 14:23
Show Gist options
  • Save mapk0y/95facedd8a9d1fed83ee to your computer and use it in GitHub Desktop.
Save mapk0y/95facedd8a9d1fed83ee to your computer and use it in GitHub Desktop.
debian jessie で runC

cgroup 周りが足りないので以下の 両方 の対応が必要

  1. kernel パラメータの変更
  2. kernel の build (Docker はこれがなくても警告だけで動くので、無くす方向にできれば...)

kernel パラメータの調整

/etc/default/grubGRUB_CMDLINE_LINUX に "cgroup_enable=memory swapaccount=1" を追加する。

その後、update-grub を実行し reboot

kernel の build

CONFIG_CFS_BANDWIDTH がないとおそらく Message: open /sys/fs/cgroup/cpu/runcdir/cpu.cfs_quota_us: permission denied という感じで怒られる

こちらを有効にして build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment