Skip to content

Commit

Permalink
Merge pull request #1119 from jamieand/docker-default-ulimit
Browse files Browse the repository at this point in the history
[docker] Add default nofiles ulimits for containers
  • Loading branch information
jamieand authored Sep 15, 2020
2 parents 04d2e71 + 1ac5711 commit 3289c5e
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 3289c5e

Please sign in to comment.