I have a docker container that is not coping with the load.
I need increase the value in /proc/sys/net/core/somaxconn
but I'm unable to do so because the container is not running in privileged mode.
Since creating the docker file, there have been several tweaks to the nignx and php configurations.
Is it possible to restart the container with privileged mode without losing the configuration changes I've already made?
Best Answer
The container configuration is in /var/lib/docker/containers/<id>/hostconfig.json - you can edit it and restart your container, but docker shouldn't be running when you edit it.
This will off course shut down all containers while you're making the changes.