<p>I had the same problem. Look at line 11 of devcontainer.json:</p>
<pre><code>&quot;source=${localEnv:HOME}/.cabal/packages,target=/home/plutus/.cabal/packages,type=bind,consistency=cached&quot;
</code></pre>
<p>Believe it or not, I solved this error by going into my environment variables and creating a variable name HOME that points to my user directory C:\Users\$username.</p>
<p>This is also mentioned in an answer to another Windows-specific issue: <a href="https://cardano.stackexchange.com/questions/382/problem-starting-a-plutus-devcontainer-in-windows">Problem starting a plutus devcontainer in windows</a> where the solution is to change the variable from HOME to USERPROFILE.</p>

CC BY-SA 4.0
2022-01-12T14:52:11.793Z
2022-01-12T16:48:48.993Z
2022-01-12T16:48:48.993Z
Jim Howes
<p>I'm trying to setup the local enviroment by the VSCode + Docker way, because i find it easier for a newbie like me.
I open the cloned repository on VSCode but when y click on the button to reopen it in the Docker container y get this error:</p>
<p><a href="https://i.sstatic.net/Pk8ZI.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Pk8ZI.png" alt="enter image description here" /></a></p>
<p>I think that the problem is in the devcontainer.json file, exactly for this setting:</p>
<pre><code>&quot;settings&quot;: {
    // Note: don't change from bash so it runs .bashrc
    &quot;terminal.integrated.shell.linux&quot;: &quot;/bin/bash&quot;
},
</code></pre>
<p>I think this is an incorrect property because i'm on Windows, not Linux, but i have no idea of what i should put in there to replace it.</p>
<p>I wil appreciate any help because i'm a total newbie to all this environment.</p>

CC BY-SA 4.0
2022-01-12T11:41:10.203Z
I think it will help if you actually describe how you are running the installation. Question: Have you installed the Remote Development extension pack for VS?
d_fajardo
<plutus-pioneer-program>
VSCode + Docker setup problems on Windows
# VSCode + Docker setup problems on Windows

(Asked by: username_0 on 2022-01-11)

I'm trying to setup the local enviroment by the VSCode + Docker way, because i find it easier for a newbie like me.
I open the cloned repository on VSCode but when y click on the button to reopen it in the Docker container y get this error:

I think that the problem is in the devcontainer.json file, exactly for this setting:
"settings": {
    // Note: don't change from bash so it runs .bashrc
    "terminal.integrated.shell.linux": "/bin/bash"
},

I think this is an incorrect property because i'm on Windows, not Linux, but i have no idea of what i should put in there to replace it.
I wil appreciate any help because i'm a total newbie to all this environment.

**Tags:** plutus-pioneer-program
> **Comments:**
> **username_1**: I think it will help if you actually describe how you are running the installation. Question: Have you installed the Remote Development extension pack for VS?  

---

## 1 answers

### Answer by username_2 on 2022-01-12. Score: 0

I had the same problem. Look at line 11 of devcontainer.json:
"source=${localEnv:HOME}/.cabal/packages,target=/home/plutus/.cabal/packages,type=bind,consistency=cached"

Believe it or not, I solved this error by going into my environment variables and creating a variable name HOME that points to my user directory C:\Users\$username.
This is also mentioned in an answer to another Windows-specific issue: Problem starting a plutus devcontainer in windows where the solution is to change the variable from HOME to USERPROFILE.


---

