Docker samples for CodeBuild - Amazon CodeBuild
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Docker samples for CodeBuild

This section describes sample integrations between Docker and Amazon CodeBuild.

Sample Description

Docker in custom image sample for CodeBuild

This sample builds and runs a Docker image by using CodeBuild and a custom Docker build image (docker:dind in Docker Hub).

Windows Docker builds sample for CodeBuild

This sample builds and runs a Windows Docker image by using CodeBuild.

'Publish Docker image to an Amazon ECR image repository' sample for CodeBuild

This sample produces as build output a Docker image and then pushes the Docker image to an Amazon Elastic Container Registry (Amazon ECR) image repository.

Private registry with Amazon Secrets Manager sample for CodeBuild

This sample shows you how to use a Docker image that is stored in a private registry as your CodeBuild runtime environment.