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:
Joseph Schorr 2015-07-01 15:13:36 +03:00
parent 7aeaf2344e
commit 784a45372d

View file

@ -2,4 +2,4 @@
set -e
# Update the connection limit
sysctl -w net.core.somaxconn=1024
sysctl -w net.core.somaxconn=1024 || true