Answers: <p>This is the <strong>write</strong> or <strong>read</strong> mode on the container. But you can enter this command for more detail in the return:</p>
  <pre><code>    docker inspect --format=&quot;{{json .Mounts}}&quot; base-hostSrcNv
  </code></pre>
  <p>You can also use <strong>jq</strong> (<em><strong>apt install jq</strong></em>) tool to have beautiful json output:</p>
  <pre><code>    docker inspect --format=&quot;{{json .Mounts}}&quot; base-hostSrcNv | jq
  </code></pre>
  
Answers: CC BY-SA 4.0
Answers: 2022-06-09T15:46:01.993Z
Answers: 2022-06-09T15:46:01.993Z
Answers: Choudi
Body: <p>Ie, if I do:</p>
  <pre><code>$ docker inspect -f '{{ .Mounts }}' base-hostSrcNv
  </code></pre>
  <p>I might get:</p>
  <pre><code>[{bind  /dir/in/container /dir/on/host   true }]
  </code></pre>
  <p>The meaning of <code>/dir/in/container</code> and <code>/dir/on/host</code> is pretty easy to understand.  But what's the last boolean value represent?</p>
  
Tags: <docker>
Title: What is the information returned by docker inspect for .Mounts?
UserDisplayName: Paul Molodowitch
ThreadText: # What is the information returned by docker inspect for .Mounts?
  
  (Asked by: username_0 on 2022-05-24)
  
  Ie, if I do:
  
  ```
  $ docker inspect -f '{{ .Mounts }}' base-hostSrcNv
  
  ```
  
  I might get:
  
  ```
  [{bind  /dir/in/container /dir/on/host   true }]
  
  ```
  
  The meaning of `/dir/in/container` and `/dir/on/host` is pretty easy to understand. But what's the last boolean value represent?
  
  **Tags:** docker
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-06-09. Score: 1 | Accepted answer
  
  This is the **write** or **read** mode on the container. But you can enter this command for more detail in the return:
  
  ```
      docker inspect --format="{{json .Mounts}}" base-hostSrcNv
  
  ```
  
  You can also use **jq** (***apt install jq***) tool to have beautiful json output:
  
  ```
      docker inspect --format="{{json .Mounts}}" base-hostSrcNv | jq
  
  ```
  
  
  ---
  
  