title: Why Redis in Docker need set daemonize to no?
body: <p>I run my Docker container as below cmd, but the container can't work. When I change the config <code>daemonize yes</code> to <code>daemonize no</code> in <code>redis-6379.conf</code>, it works! Who can tell me why?</p>
  
  <pre><code>➜  ls
  6379.log  docker-entrypoint.sh  dump.rdb  redis-6379.conf  
  ➜  cat redis-6379.conf
  port 6379
  daemonize yes
  logfile "6379.log"
  dbfilename "dump-6379.rdb"
  dir "/data/"
  ➜  docker run -p 6379:6379 -v /root/redis-sentinel:/data --name redis-6379 -d redis ./redis-6379.conf
  ➜  docker ps
  CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
  </code></pre>