title: docker redis -Can't open the log file: No such file or directory
body: <p>my OS is : ubuntu:15.10</p>
  
  <p>And i want to use the <strong>official docker-hub redis</strong> , but met problems .</p>
  
  <p>my docker-compose.yml </p>
  
  <pre><code>version: '2'
  services:
  
    redis:
      image: redis
      ports:
        - "6379:6379"
      volumes:
        -  ~/dbdata/redis_conf/redis.conf:/usr/local/etc/redis/redis.conf
      volumes_from:
        -  redisdata
      environment:
        - REDIS_PASSWORD: 29c4181fb842b5f24a3103dbd2ba17accb1f7e3c8f19868955401ab921
      command: redis-server /usr/local/etc/redis/redis.conf
  
  redisdata:
      image: redis
      volumes:
        - /home/keryhu/dbdata/redisdb:/data
      command: --break-redis
  </code></pre>
  
  <p>I copy the default redis.conf to the "~/dbdata/redis_conf/redis.conf" directory . And just modify the "requirepass" to "29c4181fb842b5f24a3103dbd2ba17accb1f7e3c8f19868955401ab921"</p>
  
  <p>when i start the container ,i met an error -</p>
  
  <pre><code>*** FATAL CONFIG FILE ERROR ***
  Reading the configuration file, at line 103
  &gt;&gt;&gt; 'logfile /var/log/redis/redis-server.log'
  Can't open the log file: No such file or directory
  </code></pre>
  
  <p>Can help me ?</p>