gentle-umbrella-55872
02/26/2025, 7:37 PMWARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
/Users/…/.garden/tools/docker/af81096fe0110658/docker/docker buildx build
command a --load
the image is available for a deployment 🤔
System: macOS
Garden: 0.13.54gentle-umbrella-55872
02/27/2025, 7:31 PMyaml
kind: Build
…
spec:
extraFlags: ['--load']
but this is a little bit anoying to add this to every build. maybe somone have a smarter solution 🙂freezing-pharmacist-34446
02/28/2025, 10:12 AM--load
automatically when there is no --push
and we are building in a remote builder.gentle-umbrella-55872
03/01/2025, 8:12 AMbig-spring-14945
03/04/2025, 1:14 PMdocker buildx ls
. The current default builder is marked with a *
.
You can change it by running docker buildx use
, for example I'm using Orbstack so I would run docker buildx use orbstack
to use the default builder.
If you're using another buildx builder on purpose, you'll need to configure Garden to add the extra flags at the moment.
You can also add flags for all container build actions in your provider configuration:
providers:
- name: container
dockerBuildExtraFlags: ["--push", "--builder", "myBuildxBuilder"]
for instance, see also https://docs.garden.io/reference/providers/containerbig-spring-14945
03/04/2025, 1:17 PM--push
or --pull
is needed, e.g. if the container
provider is being used without kubernetes
provider. But definitely open to take a feature request in this direction 🙂gentle-umbrella-55872
03/17/2025, 7:48 PMdocker buildx ls
the following is selcted:
multiplatform-builder* docker-container
\_ multiplatform-builder0 \_ desktop-linux running v0.20.0 linux/amd64 (+2), linux/arm64, linux/arm (+2), linux/ppc64le, (3 more)
orbstack error
orbstack have an error… maybe this is the root cause 🧐
i will try to fix this 🙂 thank you!
and also thank you very much for the alternate way which is much more easy to add the flags
i will response here if the issue is fixed after fixing the orbstack error 🙂big-spring-14945
03/18/2025, 9:45 AM*
on multiplatform-builder so it seems to be the default, which is why Garden will use it for builds by default. Maybe that's actually the problem?gentle-umbrella-55872
03/22/2025, 10:29 AMbig-spring-14945
03/27/2025, 2:45 PM