#4319·earthly

Running build with Podman fails

Author: aholbreichCreated Feb 11, 2025Updated May 1, 2025
Labelstype:bug

What went wrong?

Freshly installed earthly

Fails to run simple build.

earthly +build
 Init 
————————————————————————————————————————————————————————————————————————————————

           buildkitd | Starting buildkit daemon as a podman container (earthly-buildkitd)...
Error: build new buildkitd client: maybe start buildkitd: start: could not start buildkit: 1 error occurred:
	* command failed: podman run --privileged --env BUILDKIT_TLS_ENABLED=true --env BUILDKIT_MAX_PARALLELISM=20 --env BUILDKIT_DEBUG=false --env BUILDKIT_TCP_TRANSPORT_ENABLED=true --label dev.earthly.settingshash=464d138372de8970 --mount type=volume,source=earthly-cache,dst=/tmp/earthly --mount type=bind,source=/home/aho/.earthly/certs/ca_cert.pem,dst=/etc/ca.pem,ro=true --mount type=bind,source=/home/aho/.earthly/certs/buildkit_cert.pem,dst=/etc/cert.pem,ro=true --mount type=bind,source=/home/aho/.earthly/certs/buildkit_key.pem,dst=/etc/key.pem,ro=true --publish 127.0.0.1:8371:8371/tcp --publish 127.0.0.1:8372:8372/tcp -d --pull missing --name earthly-buildkitd --security-opt unmask=/sys/fs/cgroup docker.io/earthly/buildkitd:v0.8.15: exit status 126: Error: pasta failed with exit code 1:
Failed to bind port 8371 (Address already in use) for option '-t 127.0.0.1/8371-8372:8371-8372', exiting: exit status 126


️ Reuse cache between CI runs with Earthly Satellites! 2-20X faster than without cache. Generous free tier https://cloud.earthly.dev

What should have happened?

it should actually run the build.

What earthly version?

earthly version v0.8.15 cb38f72663696d17d8393b1cc8bac66aed28faa2 linux/amd64; Fedora Linux 41 (Workstation Edition)

Buildkit Logs

podman logs earthly-buildkitd returnes nothing.

Other Helpful Information

Linux Fedora 41 podman version 5.3.2