title: docker compose oci runtime error, executable file not found in $PATH
body: <p>I'm following this post:</p>
  
  <p><a href="http://eric-price.net/blog/centralized-logging-docker-aws-elasticsearch" rel="noreferrer">http://eric-price.net/blog/centralized-logging-docker-aws-elasticsearch</a></p>
  
  <p>This is what my docker-compose.yml looks like :</p>
  
  <pre><code>version: "2"
  
  services:
  
    fluentd:
      image: fluent/fluentd:latest
      ports:
        - "24224:24224"
      command: start.sh
      networks:
        - lognet
  
    nginx:
      image: nginx-pixel
      ports:
        - "80:80"
      logging:
        driver: fluentd
      networks:
        - lognet
  
  networks:
    lognet:
      driver: bridge
  </code></pre>
  
  <p>my <code>start.sh</code> is in the same directory as the yml file. When I run <code>docker-compose up -d</code> this is what I get : </p>
  
  <p><code>ERROR: for fluentd  Cannot start service fluentd: oci runtime error: exec: "start.sh": executable file not found in $PATH
  ERROR: Encountered errors while bringing up the project.</code></p>
  
  <p>My docker-compose info: </p>
  
  <pre><code>docker-compose version 1.8.0, build f3628c7
  docker-py version: 1.9.0
  CPython version: 2.7.9
  OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013
  </code></pre>