title: How to mount local volumes in docker machine
body: <p>I am trying to use docker-machine with docker-compose. The file docker-compose.yml has definitions as follows:</p>
  
  <pre><code>web:
    build: .
    command: ./run_web.sh
    volumes:
      - .:/app
    ports:
      - "8000:8000"
    links:
      - db:db
      - rabbitmq:rabbit
      - redis:redis
  </code></pre>
  
  <p>When running <code>docker-compose up -d</code> all goes well until trying to execute the command and an error is produced:</p>
  
  <blockquote>
    <p>Cannot start container b58e2dfa503b696417c1c3f49e2714086d4e9999bd71915a53502cb6ef43936d: [8] System error: exec: "./run_web.sh": stat ./run_web.sh: no such file or directory</p>
  </blockquote>
  
  <p>Local volumes are not mounted to the remote machine. Whats the recommended strategy to mount the local volumes with the webapps' code?</p>