-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If Docker is not installed locally, CDK deploy can fail without a constructive error message (possibly related to Fargate use) #8133
Comments
Hey @davidwhewell As of today the It's not great that the error message is unclear but since EPIPE can be caused by various other reasons, it will be even worse if we mislead users into believing there's something wrong with their Docker installation when that may or may not be the actual problem. Also, the more explicit error message in the second case actually came from Docker client not CDK if I remember correctly.
|
That all makes sense and is fair enough - false positives definitely do not help while debugging. If a specific error message can't be added for this situation, hopefully having it on this page is enough for someone to find when they come across it later on! |
Thanks for understanding. I will close this issue for now. Feel free to re-open it or create a new issue if anything comes up. Stay healthy & safe! |
Thanks, same to you!
…On Thu, 4 Jun 2020 at 17:56, Yenlin Chen ***@***.***> wrote:
Thanks for understanding. I will close this issue for now. Feel free to
re-open it or create a new issue if anything comes up. Stay healthy & safe!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8133 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEXL2CSJLF63CWWVVERVW6LRU7G3LANCNFSM4NG7MCYA>
.
|
We just encountered this and after reading the comments here, it's still not very clear how to solve this issue (or at least start debugging). Do you have any suggestions on where to start looking? |
If this is regarding the message due to the lack of a Docker installation,
installing Docker on the local machine would resolve the issue.
If it is about a general EPIPE error without context (such as is given
without Docker being installed), then I agree right now it is hard to know
where to start looking!
…On Fri, 12 Jun 2020 at 09:04, Dzhuneyt ***@***.***> wrote:
We just encountered this and after reading the comments here, it's still
not very clear how to solve this issue (or at least start debugging). Do
you have any suggestions on where to start looking?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8133 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEXL2CQ2DKOCX5L2CELF6UDRWHOQ5ANCNFSM4NG7MCYA>
.
|
I think we could all agree that "Docker not installed" would be a much better message than EPIPE related errors. |
When you say that the first error message is because docker wasn't installed, Do you want to say client side or server side? Because I'm cloning a project, installed all dependencies and when I execute cdk deploy I'm receiving the same error message. [100%] fail: Unable to execute 'docker' in order to build a container asset. Please install 'docker' and try again. |
I have been building an app in CDK (lambda, fargate, sqs) with some success. I moved laptops for development, and while I installed CDK, AWS CLI etc etc, I did not install Docker as it did not seem required.
When trying to edit and deploy the app, I received an indistinct error while uploading assets:
It took a while to understand that this was because Docker was not installed or available.
Conversely, if Docker is installed but not enabled, then the error case is more descriptive:
I'm not expert enough to know whether this is due to the use of Fargate within the application itself, but a more useful error message in the first example would have really helped!
Reproduction Steps
Error Log
In a way it's the lack of errors that is the problem! :)
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: