🔥 3-day streak
AWS Certified Developer - Associate22 / 150
Question 22 of 150

A developer is configuring an AWS CodeBuild project to build a Docker container image from a Dockerfile and push it to Amazon ECR. The buildspec runs 'docker build' and 'docker push' commands, but every build fails during the 'docker build' step with an error indicating that it cannot connect to the Docker daemon. The developer has confirmed the build role has ECR permissions. What is the most likely cause and correct fix?

Reviewed for accuracy · Report an issueNext question