Skip to content

Instantly share code, notes, and snippets.

@beldpro-ci
Created July 10, 2017 23:57
Show Gist options
  • Save beldpro-ci/63c43f2b838d8742593d068c16ecaeae to your computer and use it in GitHub Desktop.
Save beldpro-ci/63c43f2b838d8742593d068c16ecaeae to your computer and use it in GitHub Desktop.
docker run -d --name nginx --pids-limit 100 nginx:alpine
d9bd65d2e98ec...
find /sys/fs/cgroup/ -name "d9bd65d2e98*"
/sys/fs/cgroup/cpu,cpuacct/docker/d9bd65d2e...
/sys/fs/cgroup/cpuset/docker/d9bd65d2e98ec4...
/sys/fs/cgroup/devices/docker/d9bd65d2e98ec...
/sys/fs/cgroup/pids/docker/d9bd65d2e98ec418...
/sys/fs/cgroup/freezer/docker/d9bd65d2e98ec...
/sys/fs/cgroup/perf_event/docker/d9bd65d2e9...
/sys/fs/cgroup/blkio/docker/d9bd65d2e98ec41...
/sys/fs/cgroup/memory/docker/d9bd65d2e98ec4...
/sys/fs/cgroup/net_cls,net_prio/docker/d9bd...
/sys/fs/cgroup/hugetlb/docker/d9bd65d2e98ec...
/sys/fs/cgroup/systemd/docker/d9bd65d2e98ec...
cat /sys/fs/cgroup/pids/docker/d9bd65d28...81e/pids.max
100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment