You can run as many builds concurrently as you want against a single Depot project.
docker-compose
?You can use depot bake -f docker-compose.yml
to build all of the images in your Compose file and then use docker-compose up
to run the resulting images.
We have all our authentication options documented for depot
in our CLI authentication documentation.
Yes! Depot supports native Arm container builds out of the box. We detect the architecture of the machine requesting a build via depot build
. If that architecture is Arm, we route the build to a builder running Arm natively. You can build Docker images for M1 Macs and run the resulting image immediately, as it is made specifically for your architecture. See our documentation on Arm containers for more details.
Yes! Check out our integration guide on how we do it.
docker build
or docker buildx build
commands?Yes! We have a depot configure-docker
command that configures Depot as a plugin for the Docker CLI and sets Depot as the default builder for both docker build
and docker buildx build
. See our docker build
guide for more details.
Registries like Amazon Elastic Container Registry (ECR) and Google Container Registry (GCR) don't accurately display provenance information for a given image. Provenance is a set of metadata that describes how an image was built. This metadata is stored in the registry alongside the image. It's enabled by default in docker build
and thus by default in depot build
as well.
If you would like to clean up the clutter, you can run your build with --provenance=false
:
depot build -t <your-registry> --push --provenance=false .
Depot supports building images in any lazy-pulling compatible format. You can build an estargz image by setting the --output
flag at build time:
depot build \
--output "type=image,name=repo/image:tag,push=true,compression=estargz,oci-mediatypes=true force-compression=true" \
.
Depot supports building images with zstd
compression, a popular compression format to help speed up the launching of containers in AWS Fargate and Kubernetes. You can build an image with zstd compression by setting the --output
flag at build time:
depot build \
--output type=image,name=$IMAGE_URI:$IMAGE_TAG,oci-mediatypes=true,compression=zstd,compression-level=3 force-compression=true,push=true \
.