Check if docker daemon is running in setup.sh script
Closed this issue · 2 comments
Describe the bug
When using the setup.sh script without a docker daemon running, this step fails, but the script just continues. This leads to a deployment failure of the frontend ECS tasks
To Reproduce
Steps to reproduce the behavior:
- Terminate you local docker daemon
- Use the setup.sh script
- Check that there is no images in ECR
- See that the Frontend Stack will not successfully finish deployment
Expected behavior
Break the execution of the setup.sh script with a concise error message
Desktop (please complete the following information):
- OS: macOS
Is there a solution to this? My deployment fails at the ECS tasks even though I have performed all the steps in the guide.
Have you checked why it failed? Is it because it cannot find the images in ECR? If this is the issue, you should be able to start docker, and then re-run the setup.sh script. This will build and upload the images to ECR and ECS should be able to pick them up afterwards.