SylvainLasnier/memcached — pull request #4 by tomfotherby (2014-10-24 23:40:09+00:00)
Title: Make memcached run as pid 1

Use the "exec" form of CMD rather than the "shell" form to prevent docker from wrapping the command in a sub-shell (/bin/sh -c). A sub-shell will prevent SIGTERM getting through to memcached on `docker stop`.

See https://github.com/SylvainLasnier/memcached/issues/3