<p>I've run into this issue as well. Looks like that container that is referenced is in the Plutus Application Framework Repo according to the answer here: <a href="https://cardano.stackexchange.com/questions/4389/plutus-devcontainer-build-fails-with-devcontainer-not-found">Plutus devcontainer build fails with &#39;devcontainer&#39; not found</a></p>
<p>To get this to work, clone the plutus-apps repo found here: <a href="https://github.com/input-output-hk/plutus-apps" rel="nofollow noreferrer">https://github.com/input-output-hk/plutus-apps</a></p>
<p>Run the steps from there with the following changes:
Building Plutus and a dev container</p>
<ul>
<li>Step 2: the repo needs to be updated to <code>https://github.com/input-output-hk/plutus-apps</code>
<ul>
<li>The devcontainer folder was moved to that repo</li>
</ul>
</li>
<li>Step 6: in creating the <code>/etc/nix/nix.conf</code> file, <code>sandbox = false</code> and <code>use-sqlite-wal = false</code> as the first two lines of that file. When I tried to run nix build it was choking on something to do w/ SQLite so I removed those 2 lines and that got past that</li>
<li>Step 8: This command needs to be updated to the following:
<ul>
<li><code>nix build -f default.nix plutus-apps.haskell.packages.plutus-pab.components.library</code></li>
</ul>
</li>
<li>Step 11: If this fails with an error related to not having the kvm feature go to your <code>/etc/nix/nix.conf</code> file and add this line:
<ul>
<li><code>system-features = nixos-test benchmark big-parallel kvm</code></li>
<li>Go back to your repo and re run the command</li>
</ul>
</li>
</ul>

CC BY-SA 4.0
2022-01-12T04:06:13.873Z
As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer).
Community
CC BY-SA 4.0
2022-01-12T03:49:17.360Z
2022-01-13T02:32:34.460Z
2022-01-13T02:32:34.460Z
IceColdEdge
<p>docker load &lt; $(nix-build default.nix -A devcontainer)
error: attribute 'devcontainer' in selection path 'devcontainer' not found
-bash: $(nix-build default.nix -A devcontainer): ambiguous
redirect</p>
<p>I'm following these instructions...
<a href="https://docs.plutus-community.com/docs/setup/WindowsWSL.html" rel="nofollow noreferrer">https://docs.plutus-community.com/docs/setup/WindowsWSL.html</a></p>
<p>Where should the command below be called? What directory? docker load &lt; $(nix-build default.nix -A devcontainer)</p>

<plutus><plutus-pioneer-program><plutus-starter>
WSL2 Plutus env setup - docker load error: attribute 'devcontainer' in selection path
# WSL2 Plutus env setup - docker load error: attribute 'devcontainer' in selection path

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

docker load < $(nix-build default.nix -A devcontainer)
error: attribute 'devcontainer' in selection path 'devcontainer' not found
-bash: $(nix-build default.nix -A devcontainer): ambiguous
redirect

I'm following these instructions...
<https://docs.plutus-community.com/docs/setup/WindowsWSL.html>

Where should the command below be called? What directory? docker load < $(nix-build default.nix -A devcontainer)

**Tags:** plutus, plutus-pioneer-program, plutus-starter

---

## 1 answers

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

I've run into this issue as well. Looks like that container that is referenced is in the Plutus Application Framework Repo according to the answer here: [Plutus devcontainer build fails with 'devcontainer' not found](https://cardano.stackexchange.com/questions/4389/plutus-devcontainer-build-fails-with-devcontainer-not-found)

To get this to work, clone the plutus-apps repo found here: <https://github.com/input-output-hk/plutus-apps>

Run the steps from there with the following changes:
Building Plutus and a dev container

* Step 2: the repo needs to be updated to `https://github.com/input-output-hk/plutus-apps`
  + The devcontainer folder was moved to that repo
* Step 6: in creating the `/etc/nix/nix.conf` file, `sandbox = false` and `use-sqlite-wal = false` as the first two lines of that file. When I tried to run nix build it was choking on something to do w/ SQLite so I removed those 2 lines and that got past that
* Step 8: This command needs to be updated to the following:
  + `nix build -f default.nix plutus-apps.haskell.packages.plutus-pab.components.library`
* Step 11: If this fails with an error related to not having the kvm feature go to your `/etc/nix/nix.conf` file and add this line:
  + `system-features = nixos-test benchmark big-parallel kvm`
  + Go back to your repo and re run the command

> **Comments:**
> **username_2**: As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer).  

---

