title: Docker container doesn't start because of "task: non-zero exit (1)" error
body: <p>I'm trying to set up the nginx proxy on my Amazon AWS Docker instance together with a pimcore instance. This is my compose file:</p>
  
  <pre><code>version: '3.4'
  
  services:  
    nginx-proxy:
      image: codesuki/ecs-nginx-proxy
      ports:
        - "80:80"
    pimcore-jcii:
      image: ****/pimcore5:current
      ports:
        - "8000:80"
      links:
        - "db"
      volumes:
        - efs-storage:/data
    db:
      image: mariadb
      restart: always
      ports:
        - "3306:3306"
  
  volumes:
    efs-storage:
      driver: cloudstor:aws
      driver_opts:
        backing: shared
  </code></pre>
  
  <p>If I deploy this stack the nginx proxy container can not start. It appears the following error message:</p>
  
  <pre><code>task: non-zero exit (1)
  </code></pre>
  
  <p>I've got the error message by "docker inspect ".</p>
  
  <p>What am I doing wrong? Or where can I gather more informations about the state of the container?</p>