Skip to content

Cannot start Bass on M1 Mac #257

Description

@axvr

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

  • The Docker volume bass-buildkit is created and marked as "in use".
  • Probably unrelated, and I'm not sure if this is intentional/known, but the container runs on x86 emulation mode, i.e. it isn't running a native ARM version of the container.
    • I have Rosetta installed, so I suspect that this wouldn't be an issue.

Screenshots

Click to view screenshots. image image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions