Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error : could not start buildkit #2566

Open
yashasolutions opened this issue Jan 11, 2023 · 2 comments
Open

Error : could not start buildkit #2566

yashasolutions opened this issue Jan 11, 2023 · 2 comments

Comments

@yashasolutions
Copy link

yashasolutions commented Jan 11, 2023

\>$ earthly --version
earthly version v0.6.30 743687991d227f2f7e2e6ba11a90f443b4f99c67 linux/amd64; Pop!_OS 18.10

Freshly installed using instructions.

I get the following error when I try boostrap or when I run hello world:

Error: build new buildkitd client: maybe start buildkitd: start: could not start buildkit: 1 error occurred:
        * command failed: docker run --privileged --env BUILDKIT_TLS_ENABLED=false --env BUILDKIT_MAX_PARALLELISM=20 --env BUILDKIT_DEBUG=false --env BUILDKIT_TCP_TRANSPORT_ENABLED=false --label dev.earthly.settingshash=c47eed41a88b6f3b --mount type=volume,source=earthly-cache,dst=/tmp/earthly --publish 127.0.0.1:8371:8371/tcp --platform linux/amd64 -d --name earthly-buildkitd earthly/buildkitd:v0.6.30: exit status 1: "--platform" is only supported on a Docker daemon with experimental features enabled: exit status 1

Running manually without the "platform" flag is working like a charm.

Is there a way to configure it so it can bootstrap without the platform flag?

@yashasolutions yashasolutions changed the title Error when bootsrapping after fresh install Error : could not start buildkit Jan 11, 2023
@nelsam
Copy link
Contributor

nelsam commented Jan 11, 2023

I believe that #2511 solves this, but we don't have a release up with that change in yet. Can you try building earthly from the latest main? See our CONTRIBUTING.md for build instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

3 participants
@nelsam @yashasolutions and others