Answers: <p>The issue was that the <code>E:</code> drive was formatted with <code>exFAT</code> partition. After I formatted it to <code>NTFS</code> it started to work.</p>
  
Answers: CC BY-SA 4.0
Answers: 2020-11-18T17:51:30.817Z
Answers: 2020-11-18T17:51:30.817Z
Answers: Dmitrij Kultasev
Body: <p>I'm trying to move the Docker storage location to another drive. This is my configuration file:</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;registry-mirrors&quot;: [],
    &quot;insecure-registries&quot;: [],
    &quot;debug&quot;: false,
    &quot;experimental&quot;: false,
    &quot;data-root&quot;: &quot;E:\\test&quot;
  }
  </code></pre>
  <p>I also tried to use <code>&quot;graph&quot;</code> instead of <code>data-root</code> (probably that was they to do it in the older versions) without any luck. I also gave read/write permissions to <code>Everyone</code> just in case. After restarting the daemon, I see the Docker directories and files are created in that folder, however when I try to pull the image, I'm getting following error:</p>
  <blockquote>
  <p>Executing task: docker build --pull --rm -f &quot;Docker\BuildTools\Dockerfile&quot; -t msbuildssdt &quot;Docker\BuildTools&quot; &lt;
  Sending build context to Docker daemon  5.632kB Error response from
  daemon: chtimes \?\E:\test\tmp\docker-builder614293845\coverage: The
  parameter is incorrect. The terminal process
  &quot;C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command
  docker build --pull --rm -f &quot;Docker\BuildTools\Dockerfile&quot; -t
  msbuildssdt &quot;Docker\BuildTools&quot;&quot; terminated with exit code: 1.</p>
  </blockquote>
  <p>It's working well if I change the <code>data-root</code> value to any folder located on the <code>C:</code> drive.</p>
  
Tags: <docker><windows>
Title: Can't change Windows Docker storage location (The parameter is incorrect)
UserDisplayName: Dmitrij Kultasev
ThreadText: # Can't change Windows Docker storage location (The parameter is incorrect)
  
  (Asked by: username_0 on 2020-11-18)
  
  I'm trying to move the Docker storage location to another drive. This is my configuration file:
  
  ```json
  {
    "registry-mirrors": [],
    "insecure-registries": [],
    "debug": false,
    "experimental": false,
    "data-root": "E:\\test"
  }
  
  ```
  
  I also tried to use `"graph"` instead of `data-root` (probably that was they to do it in the older versions) without any luck. I also gave read/write permissions to `Everyone` just in case. After restarting the daemon, I see the Docker directories and files are created in that folder, however when I try to pull the image, I'm getting following error:
  
  > Executing task: docker build --pull --rm -f "Docker\BuildTools\Dockerfile" -t msbuildssdt "Docker\BuildTools" <
  > Sending build context to Docker daemon 5.632kB Error response from
  > daemon: chtimes \?\E:\test\tmp\docker-builder614293845\coverage: The
  > parameter is incorrect. The terminal process
  > "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command
  > docker build --pull --rm -f "Docker\BuildTools\Dockerfile" -t
  > msbuildssdt "Docker\BuildTools"" terminated with exit code: 1.
  
  It's working well if I change the `data-root` value to any folder located on the `C:` drive.
  
  **Tags:** docker, windows
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-11-18. Score: 1
  
  The issue was that the `E:` drive was formatted with `exFAT` partition. After I formatted it to `NTFS` it started to work.
  
  
  ---
  
  