File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,8 +49,3 @@ echo -e "${YELLOW}Pushing image to ECR...${NC}"
4949docker push " $FULL_IMAGE_NAME "
5050
5151echo -e " ${GREEN} Successfully built and pushed image: $FULL_IMAGE_NAME ${NC} "
52- echo -e " ${GREEN} You can now use this image in your AWS services.${NC} "
53- echo " "
54- echo -e " ${YELLOW} IMPORTANT: When running this container on AWS Batch or other services,${NC} "
55- echo -e " ${YELLOW} make sure to enable privileged mode for Docker-in-Docker functionality.${NC} "
56- echo -e " ${YELLOW} For AWS Batch, add 'privileged: true' to your job definition.${NC} "
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ trap cleanup EXIT
2121# Start Docker daemon with proper configuration for AWS Batch
2222echo " Starting Docker daemon..."
2323# Use vfs storage driver to avoid overlay permission issues
24- dockerd --storage-driver=vfs --iptables=false --ip-masq=false --bridge=none &
24+ dockerd --storage-driver=vfs --iptables=false --ip-masq=false &
2525
2626# Wait for Docker daemon to be ready
2727echo " Waiting for Docker daemon to start..."
You can’t perform that action at this time.
0 commit comments