Answers: <p>One could also use a docker image from an official docker repository like <a href="https://hub.docker.com/r/library/redis/" rel="nofollow noreferrer">https://hub.docker.com/r/library/redis/</a></p>
  
  <pre><code>docker run --name some-redis -d redis:alpine
  </code></pre>
  
Answers: CC BY-SA 4.0
Answers: 2018-05-13T14:41:04.623Z
Answers: 2018-05-13T14:41:04.623Z
Answers: 030
Body: <h3>Specifications</h3>
  
  <hr>
  
  <pre><code>Microsoft Windows [Version 10.0.14393]
  VirtualBox 5.2.8
  Alpine Linux Extended 3.7.0
  </code></pre>
  
  <h3>Docker Info</h3>
  
  <hr>
  
  <pre><code>Containers: 0
   Running: 0
   Paused: 0
   Stopped: 0
  Images: 1
  Server Version: 17.10.0-ce
  Storage Driver: overlay2
   Backing Filesystem: extfs
   Supports d_type: true
   Native Overlay Diff: true
  Logging Driver: json-file
  Cgroup Driver: cgroupfs
  Plugins:
   Volume: local
   Network: bridge host macvlan null overlay
   Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
  Swarm: inactive
  Runtimes: runc
  Default Runtime: runc
  Init Binary: docker-init
  containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
  runc version: 0351df1c5a66838d0c392b4ac4cf9450de844e2d
  init version: 949e6facb77383876aeff8a6944dde66b3089574
  Kernel Version: 4.9.65-1-hardened
  Operating System: Alpine Linux v3.7
  OSType: linux
  Architecture: x86_64
  CPUs: 1
  Total Memory: 1.953GiB
  Name: node-4
  ID: 3AVF:5SGV:6Y3P:HQW4:PTSU:BRA7:R3PL:AW4F:CIFW:BYDY:FY5P:O6GX
  Docker Root Dir: /var/lib/docker
  Debug Mode (client): false
  Debug Mode (server): false
  Registry: https://index.docker.io/v1/
  Experimental: false
  Insecure Registries:
   127.0.0.0/8
  Live Restore Enabled: false
  
  WARNING: No swap limit support
  </code></pre>
  
  <h3>Issue Description<hr/></h3>
  
  <p>I'm trying to run the <code>bitname-redis-docker</code> image on my <code>Alpine Linux</code> setup on VirtualBox.</p>
  
  <pre><code>docker run --name redis -e ALLOW_EMPTY_PASSWORD=yes bitnami/redis:latest
  </code></pre>
  
  <p>The container never starts. Inspecting the log it says</p>
  
  <pre><code>Welcome to the Bitnami redis container
  Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-redis
  Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-redis/issues
  Send us your feedback at containers@bitnami.com
  
  PROT_EXEC|PROT_WRITE failed.
  INFO  ==&gt; Starting redis...
  sed: can't read /opt/bitnami/redis/conf/redis.conf: No such file or directory
  14:C 26 Apr 19:38:43.389 # Fatal error, can't open config file '/opt/bitnami/redis/conf/redis.conf'
  </code></pre>
  
  <p>To further investigate I ran an <code>strace</code> and here is the log output <a href="https://pastebin.com/raw/CHr9ZHYJ" rel="nofollow noreferrer">link</a>.</p>
  
  <p>Can someone tell me what's going on here? Am I doing something wrong?</p>
  
Comments: CC BY-SA 4.0
Comments: 2019-12-23T08:38:42.920Z
Comments: Could you indicate whether you solved the issue?
Comments: 030
Comments: CC BY-SA 4.0
Comments: 2019-12-23T12:33:09.343Z
Comments: As far as I can tell it is an error with Alpine. I re-tried with CentOS and everything worked fine.
Comments: Soham Dasgupta
Tags: <docker><docker-compose><docker-swarm><alpine>
Title: Error while trying to run docker redis image on Alpine Linux 3.7.0
UserDisplayName: Soham Dasgupta
ThreadText: # Error while trying to run docker redis image on Alpine Linux 3.7.0
  
  (Asked by: username_0 on 2018-05-13)
  
  ### Specifications
  
  ---
  
  ```
  Microsoft Windows [Version 10.0.14393]
  VirtualBox 5.2.8
  Alpine Linux Extended 3.7.0
  
  ```
  
  ### Docker Info
  
  ---
  
  ```
  Containers: 0
   Running: 0
   Paused: 0
   Stopped: 0
  Images: 1
  Server Version: 17.10.0-ce
  Storage Driver: overlay2
   Backing Filesystem: extfs
   Supports d_type: true
   Native Overlay Diff: true
  Logging Driver: json-file
  Cgroup Driver: cgroupfs
  Plugins:
   Volume: local
   Network: bridge host macvlan null overlay
   Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
  Swarm: inactive
  Runtimes: runc
  Default Runtime: runc
  Init Binary: docker-init
  containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
  runc version: 0351df1c5a66838d0c392b4ac4cf9450de844e2d
  init version: 949e6facb77383876aeff8a6944dde66b3089574
  Kernel Version: 4.9.65-1-hardened
  Operating System: Alpine Linux v3.7
  OSType: linux
  Architecture: x86_64
  CPUs: 1
  Total Memory: 1.953GiB
  Name: node-4
  ID: 3AVF:5SGV:6Y3P:HQW4:PTSU:BRA7:R3PL:AW4F:CIFW:BYDY:FY5P:O6GX
  Docker Root Dir: /var/lib/docker
  Debug Mode (client): false
  Debug Mode (server): false
  Registry: https://index.docker.io/v1/
  Experimental: false
  Insecure Registries:
   127.0.0.0/8
  Live Restore Enabled: false
  
  WARNING: No swap limit support
  
  ```
  
  ### Issue Description ---
  
  I'm trying to run the `bitname-redis-docker` image on my `Alpine Linux` setup on VirtualBox.
  
  ```
  docker run --name redis -e ALLOW_EMPTY_PASSWORD=yes bitnami/redis:latest
  
  ```
  
  The container never starts. Inspecting the log it says
  
  ```
  Welcome to the Bitnami redis container
  Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-redis
  Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-redis/issues
  Send us your feedback at containers@bitnami.com
  
  PROT_EXEC|PROT_WRITE failed.
  INFO  ==> Starting redis...
  sed: can't read /opt/bitnami/redis/conf/redis.conf: No such file or directory
  14:C 26 Apr 19:38:43.389 # Fatal error, can't open config file '/opt/bitnami/redis/conf/redis.conf'
  
  ```
  
  To further investigate I ran an `strace` and here is the log output [link](https://pastebin.com/raw/CHr9ZHYJ).
  
  Can someone tell me what's going on here? Am I doing something wrong?
  
  **Tags:** docker, docker-compose, docker-swarm, alpine
  
  > **Comments:**
  > **username_1**: Could you indicate whether you solved the issue?  
  > **username_0**: As far as I can tell it is an error with Alpine. I re-tried with CentOS and everything worked fine.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-05-13. Score: 1
  
  One could also use a docker image from an official docker repository like <https://hub.docker.com/r/library/redis/>
  
  ```
  docker run --name some-redis -d redis:alpine
  
  ```
  
  
  ---
  
  