How to provide GitHub credentials to containers? #58
Unanswered
thevedicdeveloper
asked this question in
Q&A
Replies: 2 comments
-
Thanks for sharing this @thevedicdeveloper! Depending on your setup, the tips here may help: https://code.visualstudio.com/remote/advancedcontainers/sharing-git-credentials. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for sharing @bamurtaugh |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to clone a repository from inside the container.
the container is just a basic Alpine image
FROM alpine:latest
Since it's new, I have to install Git first. After doing that, when I try to clone my private repository.
It asks for first user.name and user.email. I provided that as well.
But when I am trying to push, it is saying I am not authenticated.
How can I provide my git credentials to my container? There are a couple of options like gpg key, and access token.
Beta Was this translation helpful? Give feedback.
All reactions