Make the doupdatelimits script optional
Without the `privileged` flag or the proper kernel capability, this command can fail the start of the container. With this change, we still print the error message, but don't fail container start. The downside of this command not running is a lower maximum connection count (128), which should be okay for most of our enterprise customers.
This commit is contained in:
parent
7aeaf2344e
commit
784a45372d
1 changed files with 1 additions and 1 deletions
|
@ -2,4 +2,4 @@
|
|||
set -e
|
||||
|
||||
# Update the connection limit
|
||||
sysctl -w net.core.somaxconn=1024
|
||||
sysctl -w net.core.somaxconn=1024 || true
|
Reference in a new issue