Open rballard-ghd opened 8 months ago
Hi @rballard-ghd thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon.
Bump, I'm seeing this as well when trying to run containers within an azp-agent container.
Same here, addressed a PR which fix the issue
This issue has had no activity in 180 days. Please comment if it is not actually stale
Bumping this as this is still a bug/feature request.
What happened?
When trying to use container jobs on a self hosted agent, I had the following error when trying to start the container (it pulled the image down correctly):
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/__a/externals/node/bin/node": stat /__a/externals/node/bin/node: no such file or directory: unknown
I believe the issue is that the agent tried to mount /a and /w into the container, however due to the agent running in the container, the docker engine tries to use the host's file system to mount from, and they don't exist.
What should happen
After my investigation, I think containers should be able to provide their own version of node (as outlined for non-glibc containers), and the work directory can be checked out within the container separately. So the container requirements would be node.js and git.
Versions
Agent Version 3.236.1; Linux x64; Ubuntu 22.04
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu 22.02
Version controll system
No response
Relevant log output