Skip to content

Commit

Permalink
[docker] Add default nofiles ulimits for containers
Browse files Browse the repository at this point in the history
  • Loading branch information
jamieand committed Sep 15, 2020
1 parent f06359d commit 1ac5711
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/docker-engine/daemon.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"storage-driver": "overlay2",
"exec-opts": ["native.cgroupdriver=cgroupfs"],
"data-root": "/var/lib/docker",
"selinux-enabled": true
"selinux-enabled": true,
"default-ulimits": { "nofile": { "Name": "nofile", "Soft": 1024, "Hard": 4096 } }
}

0 comments on commit 1ac5711

Please sign in to comment.