title: docker: Error response from daemon: OCI runtime create failed: invalid mount {Destination::/app Type:bind on windows 10
body: <p>I've spent a long time trying to solve this problem. I search here on StackOverflow, in another place, groups, etc, but without success.</p>
  <p>I am trying to build an image python:3.6 on windows but a lot of different errors were returned.</p>
  <p>I have a run.py file that runs a python server.</p>
  <pre><code>import logging
  import http.server
  import socketserver
  import getpass
  
  
  class MyHTTPHandler(http.server.SimpleHTTPRequestHandler):
      def log_message(self, format, *args):
          logging.info(&quot;%s - - [%s] %s\n&quot;% (
              self.client_address[0], 
              self.log_date_time_string(),
              format%args
          ))
  
  logging.basicConfig(
      filename='/log/http-server.log',
      format='%(asctime)s - %(levelname)s - %(message)s',
      level=logging.INFO
  )
  
  logging.getLogger().addHandler(logging.StreamHandler())
  logging.info('inicializando...')
  PORT = 8000
  
  httpd = socketserver.TCPServer((&quot;&quot;, PORT), MyHTTPHandler)
  logging.info('escutando a porta: %s', PORT)
  logging.info('usuario: %s', getpass.getuser())
  httpd.serve_forever()
  </code></pre>
  <p>I have a Dockerfile to build my image</p>
  <pre><code>FROM python:3.6
  LABEL maintainer 'Eric Gomes'
  
  RUN useradd www &amp;&amp; \
      mkdir /app &amp;&amp; \
      mkdir /log &amp;&amp; \
      chown www /log
  
  USER www
  VOLUME /log
  WORKDIR /app
  EXPOSE 8000
  
  ENTRYPOINT [&quot;/usr/local/bin/python&quot;]
  CMD [&quot;run.py&quot;]
  </code></pre>
  <p>my actual directory where I am running my docker commands is: <strong>D:\Projetos Dev\treinamento_docker\exercicio\build-dev</strong></p>
  <p>When I run my command:</p>
  <pre><code>docker container run -it -v ${%D:\Projetos Dev\treinamento_docker\exercicio\build-dev%}:/app -p 80:8000 --name python-server ex-build-dev
  </code></pre>
  <p>or</p>
  <pre><code>docker container run -it -v ${%cd}:/app -p 80:8000 --name python-server ex-build-dev
  </code></pre>
  <p>The error is returned:</p>
  <pre><code>docker: Error response from daemon: OCI runtime create failed: invalid mount {Destination::/app Type:bind Source:/var/lib/docker/volumes/227936e587f913e7104daba1b77090fe45290e466bb3dcc1f3a6a6f4d9250e9f/_data Options:[rbind]}: mount destination :/app not absolute: unknown.
  </code></pre>
  <p>I tried running on PowerShell and CMD but the result is the same.
  Someone may help me, please!?</p>