<p>I believe there are some compatibility problems with M1s and Docker. It might be worth trying to run Cabal through nix-shell instead.</p>

CC BY-SA 4.0
2021-12-01T22:08:53.880Z
Continuing to work through nix-shell on an M1 system, but I'll accept this answer if I get it going.
jerome
CC BY-SA 4.0
2021-11-14T23:34:12.767Z
2021-11-14T23:34:12.767Z
Mitchell Turner
<p>Yesterday i found out that if you do a cabal build with limited amount of cpus <code>cabal build --jobs=1</code> you get quite far but after building for like 2 hours ... it gets killed after all ... seems to be a docker issue with ressource management i think!</p>

CC BY-SA 4.0
2021-11-20T20:02:56.903Z
2021-11-20T20:02:56.903Z
SaIG
<p>Running the instructions at <a href="https://github.com/input-output-hk/plutus-starter#readme" rel="nofollow noreferrer">https://github.com/input-output-hk/plutus-starter#readme</a></p>
<p>After opening the container in VSCode, and attempting to run the following in the terminal.</p>
<pre><code>[devcontainer]$ cabal build
Killed
[devcontainer]$ cabal update
Killed
</code></pre>
<p>Container is hosted on an M1 Macbook Air with 4GB allocated to docker.</p>
<p>Admittedly, I am new to Haskell and Cardano, so it's not yet apparent to me if this may be a resources issue or something in the plutus starter project.</p>

CC BY-SA 4.0
2021-11-20T11:16:05.637Z
Have exact same issue on M1 Pro.
Ilya Oskin
<plutus><cabal><docker><plutus-starter>
Plutus starter cabal build issue
# Plutus starter cabal build issue

(Asked by: username_0 on 2021-11-14)

Running the instructions at https://github.com/input-output-hk/plutus-starter#readme
After opening the container in VSCode, and attempting to run the following in the terminal.
[devcontainer]$ cabal build
Killed
[devcontainer]$ cabal update
Killed

Container is hosted on an M1 Macbook Air with 4GB allocated to docker.
Admittedly, I am new to Haskell and Cardano, so it's not yet apparent to me if this may be a resources issue or something in the plutus starter project.

**Tags:** plutus, cabal, docker, plutus-starter
> **Comments:**
> **username_1**: Have exact same issue on M1 Pro.  

---

## 2 answers

### Answer by username_2 on 2021-11-14. Score: 1

I believe there are some compatibility problems with M1s and Docker. It might be worth trying to run Cabal through nix-shell instead.

> **Comments:**
> **username_0**: Continuing to work through nix-shell on an M1 system, but I'll accept this answer if I get it going.  

---

### Answer by username_3 on 2021-11-20. Score: 0

Yesterday i found out that if you do a cabal build with limited amount of cpus `cabal build --jobs=1` you get quite far but after building for like 2 hours ... it gets killed after all ... seems to be a docker issue with ressource management i think!


---

