title: Docker compose elk stack config file update does not work
body: <p>I am working with the elastic stack. I downloaded a compose packe from git-hub und with </p>
  
  <blockquote>
    <p>docker-compose up</p>
  </blockquote>
  
  <p>the composition runs fine.
  Now I want to change my logstash default .conf file for testing. So I changed it to </p>
  
  <pre><code>input {
  file{
          path =&gt; "C:\Program Files\develop\eclipse_workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\logs\*"
          }
  }
  
  ## Add your filters / logstash plugins configuration here
  
  output {
      elasticsearch {
          hosts =&gt; "elasticsearch:9200"
      }
  }
  </code></pre>
  
  <p>to get some logfiles when I run a test web app.
  I thought that I have to change the config file and rebuild the image. So in the github reposiroty Directory I went in my logstash folder and changed the config file. After that I tried to execute </p>
  
  <pre><code>docker build .
  </code></pre>
  
  <p>to rebuild the Image.</p>
  
  <p>This resulted in the output:</p>
  
  <pre><code>&gt; C:\Windows\User\docker-elk\logstash&gt;docker build . Sending build
  &gt; context to Docker daemon   5.12kB Step 1/1 : FROM
  &gt; docker.elastic.co/logstash/logstash-oss:6.3.0  ---&gt; 77bdbc2dc566
  &gt; Successfully built 77bdbc2dc566 SECURITY WARNING: You are building a
  &gt; Docker image from Windows against a non-Windows Docker host. All files
  &gt; and directories added to build context will have '-rwxr-xr-x'
  &gt; permissions. It is recommended to double check and reset permissions
  &gt; for sensitive files and directories.
  </code></pre>
  
  <p>Finally I tried to execute </p>
  
  <pre><code>docker-compose up
  </code></pre>
  
  <p>But I got an error</p>
  
  <pre><code>Starting docker-elk_elasticsearch_1 ... error
  
  ERROR: for docker-elk_elasticsearch_1  Cannot start service elasticsearch: b"error while creating mount source path '/host_mnt/c/Windows/User/docker-elk/elasticsearch/config/elasticsearch.yml': mkdir /host_mnt/c: file exists"
  
  ERROR: for elasticsearch  Cannot start service elasticsearch: b"error while creating mount source path '/host_mnt/c/Windows/User/docker-elk/elasticsearch/config/elasticsearch.yml': mkdir /host_mnt/c: file exists"
  ERROR: Encountered errors while bringing up the project.
  </code></pre>
  
  <p>Can anyone tell me what I have to do to update my config file the right way? I was hoping changing and rebuilding the Image should work.
  Thank you </p>