-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Clone step fails due to missing local corporate CA #158
Comments
In Step 2 (Build), there were more certificate errors from pip.
|
@brbecker Particularly on a corporate network, it's not a good idea to disable SSL verification like that. It seems like, from reading other issues on the Yarn repo, the better way is to add your corporate certificate chain to actually verify. I've done this for GitHub already on Windows 10, so I wasn't seeing a similar issue to yours. However, I'm also having this issue later on in the tutorial due to yarn:
My configuration: I don't have administrator privileges on the Windows 10 machine issued by my workplace, thus can't install WSL here, so I'm using the Hyper-V version of Docker Desktop, v. After some digging into an issue posted on the Yarn repo, I found some solutions, but none seemed to work. I tried:
Even after that, I still see the following:
I've moved around the certificate to confirm it wasn't some issue with the path it was in, but it appears Yarn can't even find the file, let alone determine if I've actually gotten the right certificate in order to verify. This isn't necessarily a Docker issue, but certainly there should be something that indicates to a user what the solution is in the even of one of these inabilities to find the certificate, and warn them (in the tutorial?) that what is going on is not an issue with Docker, and instead with their corporate network and point them to a solution. If someone could point me to that solution also, that'd be great, because I'm quite stuck. Also, apologies if I've missed anything here. I'm pretty certain this is the first time I've ever actually commented on a GitHub issue. |
While running the first step of the tutorial after a fresh install of Docker Desktop, I ran into the following error:
It looks like this happens because our corporate CA cert is not being copied into the alpine/git container.
As a workaround, using the command below worked for me.
The text was updated successfully, but these errors were encountered: