Coder.comC
Coder.comโ€ข16mo agoโ€ข
8 replies
ShamesBond

Devcontainer template fails to pull private repo, ssh-agent not available

envbuilder v1.0.0-rc.6+23d086e - Build development environments from repositories in a container
#1: ๐Ÿ”‘ Using SSH authentication!
#1: ๐Ÿ”‘ No SSH key found, falling back to agent!
#1: โŒ Failed to connect to SSH agent: error creating SSH agent: "SSH agent requested but SSH_AUTH_SOCK not-specified"
#1: ๐Ÿ“ฆ Cloning git@gitlab.com:my/repository.git to /workspaces/repository...
Failed to clone repository: clone "git@gitlab.com:my/repository.git": error creating SSH agent: "SSH agent requested but SSH_AUTH_SOCK not-specified"
Falling back to the default image...


What might I be missing to authorize my devcontainer to pull this repo?
Was this page helpful?