title: Mount point name for a docker volume
body: <p>With the below command:</p>
  
  <p><code>docker container run -dit --name testcontainer –mount source= ubervol, target=/vol alpine:latest</code></p>
  
  <p><strong>source</strong> mount point <strong>name</strong> is <code>ubervol</code> pointing to <strong>target</strong> <code>/vol</code> that resides within container as shown below:</p>
  
  <pre><code>user@machine:~$ docker container exec -it b4fd sh
  / # pwd
  / 
  / # ls vol
  vol
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Pr6ft.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Pr6ft.png" alt="enter image description here"></a></p>
  
  <p><code>ubervol</code> sits outside the container in <code>/var/lib/docker/volumes/ubervol</code> path  of host machine(hosting docker  daemon)</p>
  
  <hr>
  
  <p>With the below Dockerfile:</p>
  
  <pre><code># Create the folders and volume mount points
  RUN mkdir -p /var/log/jenkins
  RUN chown -R jenkins:jenkins /var/log/jenkins
  
  RUN mkdir -p /var/jenkins_home
  RUN chown -R jenkins:jenkins /var/jenkins_home
  
  VOLUME ["/var/log/jenkins", "/var/jenkins_home"]
  </code></pre>
  
  <p>my understanding is, <strong>target</strong> is sitting within container with path <code>/var/log/jenkins</code> 
   &amp;&amp; <code>/var/jenkins_home</code></p>
  
  <hr>
  
  <p>What is the source mount point name? for each target(<code>/var/log/jenkins</code> &amp;&amp; <code>/var/jenkins_home</code>)</p>
  
  <p>What is the path of this mount point name in host machine?</p>