Category : azure-devops-self-hosted-agent

I set up a self-hosted ADO agent which runs inside a container. When I tried to transfer my existing docker-compose build from the Microsoft agent pool to my own self hosted agent, the docker-compose fails to mount the volume. I receive errors saying that I cannot create directories since the file system is read-only. ADO ..

Read more

Background I have set up some Self Hosted, Azure Devops build agents, inside my AKS cluster. This is the documentation: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/docker?view=azure-devops The agents have been successfully created, I can see them in my Agent Pools and target them from my pipeline. One of the first things my pipeline does, is build and push some docker ..

Read more

I have a shell script (file.sh) with some REST API calls in it. Created self hosted agent in a Linux container with the help of Microsoft documentation. Created a pipeline job with "Bash" task to run the shell script (file.sh). End up with no outcome, though build successful. no error, no outcome on console. PFB ..

Read more

A colleague and I both use Azure DevOps build agents self-hosted in Docker. We’re both connecting to separate DevOps organisations, but other than that the agents are the same – we’re using the latest version of the image (mcr.microsoft.com/azure-pipelines/vsts-agent), both running on the same host OS, same version of Docker. My build agent runs jobs ..

Read more

I am trying to build a docker image using my build pipeline, however docker is unable to pull the base image my build pipeline is hosted in azure devops server Azure devops server hosted inside window server 2019 VM 2021-03-04T06:58:21.6816037Z ============================================================================== 2021-03-04T06:58:21.6816138Z Task : Docker 2021-03-04T06:58:21.6816209Z Description : Build, tag, push, or run Docker images, ..

Read more

Problem: We are trying to run self-hosted agent on my Windows 10 (Enterprise) machine using docker-container approach as explained in article. We can create docker image successfully (for Windows) as explained in mentioned article but while executing the created image with run command we are getting below error. We tried to google it but didn’t ..

Read more

I can successfully start a self-hosted agent on my Windows 10 machine following this article: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/docker?view=azure-devops#windows However when I try to start the very same Docker image in Service Fabric with Windows Server 20H2 nodes, I get these container log entries: 1. Determining matching Azure Pipelines agent… Invoke-RestMethod : The remote name could not be ..

Read more

I’m trying to run a container job on my self hosted agent to read a container image from my ACR. When you use a Microsoft hosted agent this code works: pool: vmImage: ‘ubuntu-18.04’ container: image: myprivate.azurecr.io/windowsservercore:1803 endpoint: my_acr_connection So what I want is to use the following code: pool: Default container: image: myprivate.azurecr.io/windowsservercore:1803 endpoint: my_acr_connection ..

Read more