title: Docker Redis container orderly shutdown
body: <p>I am running redis-server in a Docker container on Ubuntu 14.10 x64. If I access the redis database via phpRedisAdmin, do a few edits and then get them to be saved to disk, shutdown the container and then restart it everything is fine - the edited redis keys are present and correct.  However, if I edit keys and then shut down the container then restart it the edits do not stick.  </p>
  
  <p>Clearly, the dump.rdb file is not being saved automatically when the container is shutdown.  I imagine that I could fix this by putting in an /etc/init.d script that is symlinked from /etc/rc6.d.  However, I am wondering - why does shutting down a redis container not perform an orderly shutdown of the running process(es) in the container?  After all, when I reboot my server (both the server &amp; the container run Ubuntu 14.10) I do not have to explicitly commit the redis db changes to disk.</p>