-
Notifications
You must be signed in to change notification settings - Fork 524
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
Run in docker container throw an exception debugging Core CLR #681
Comments
FYI @philliphoff |
@tachev Did you have an existing (or did you add) a Based on the error, it looks like the |
I didn't have a Dockerfile before that. I expected this function will create one for me.
…________________________________
From: Phillip Hoff <[email protected]>
Sent: Thursday, December 6, 2018 1:25 PM
To: Microsoft/vscode-docker
Cc: tachev; Mention
Subject: Re: [Microsoft/vscode-docker] Run in docker container throw an exception debugging Core CLR (#681)
@tachev<https://github.com/tachev> Did you have an existing (or did you add) a Dockerfile prior to debugging? If not, if you add a Dockerfile (e.g. using the task to scaffold the Docker assets), does debugging then work?
Based on the error, it looks like the Dockerfile was missing or not in the expected location. If that's the case, then we might just need to add a pre-debugging check that the Dockerfile exists before continuing forward.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#681 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AEGtqmg171LvXpONMpooO4Qp-TWPsXiLks5u2WEDgaJpZM4ZFbwG>.
|
Phil - If you want to go that route, some of the commands will ask about adding a dockerfile: |
Repro steps:
4: Got the exception
Action: debugCoreClr
Error type: 1
Error Message: Command failed: docker build --rm -f "/IdentityServer/IdentityProvider/Dockerfile" --label "com.microsoft.created-by=visual-studio-code" -t "identityprovider.web:dev" --target "base" "/IdentityServer/IdentityProvider"
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /IdentityServer/IdentityProvider/Dockerfile: no such file or directory
Version: 0.4.0
OS: darwin
The text was updated successfully, but these errors were encountered: