vito / bass

a low fidelity scripting language for project infrastructure
https://bass-lang.org
MIT License
378 stars 13 forks source link

Cannot start Bass on M1 Mac #257

Open axvr opened 2 years ago

axvr commented 2 years ago

Describe the bug

Hi, I've recently acquired an M1 MacBook, but have been unable to get Bass running on it.

I installed "Docker Desktop" (through Brew Cask brew install homebrew/cask/docker) and Bass 0.10.0. However, whenever I try to run bass it is unable to start the Buildkitd container. The container appears to get stuck in a restart loop.

The error from Bass:

init buildkit runtime for platform os=linux, arch=any: list buildkit workers: failed to list workers: Unavailable: connection error: desc = "transport: Error while dialing dial unix /run/buildkit/buildkitd.sock: connect: no such file or directory"

Tip: if this error is too cryptic, please open an issue:

  https://github.com/vito/bass/issues/new?labels=cryptic&template=cryptic-error-message.md

The log from the container:

time="2022-10-09T15:38:09Z" level=info msg="auto snapshotter: using overlayfs"
buildkitd: invalid argument
time="2022-10-09T15:38:10Z" level=info msg="auto snapshotter: using overlayfs"
buildkitd: invalid argument
time="2022-10-09T15:38:10Z" level=info msg="auto snapshotter: using overlayfs"
buildkitd: invalid argument
time="2022-10-09T15:38:11Z" level=info msg="auto snapshotter: using overlayfs"
buildkitd: invalid argument
time="2022-10-09T15:38:12Z" level=info msg="auto snapshotter: using overlayfs"
buildkitd: invalid argument
time="2022-10-09T15:38:15Z" level=info msg="auto snapshotter: using overlayfs"
buildkitd: invalid argument
time="2022-10-09T15:38:18Z" level=info msg="auto snapshotter: using overlayfs"
buildkitd: invalid argument
time="2022-10-09T15:38:25Z" level=info msg="auto snapshotter: using overlayfs"
buildkitd: invalid argument
time="2022-10-09T15:38:39Z" level=info msg="auto snapshotter: using overlayfs"
buildkitd: invalid argument
time="2022-10-09T15:39:05Z" level=info msg="auto snapshotter: using overlayfs"
buildkitd: invalid argument
time="2022-10-09T15:39:57Z" level=info msg="auto snapshotter: using overlayfs"
buildkitd: invalid argument
time="2022-10-09T15:40:57Z" level=info msg="auto snapshotter: using overlayfs"
buildkitd: invalid argument

Additional context

Screenshots

Click to view screenshots. image image