ERROR: error during connect: Head "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/_ping": open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified.
Check if Docker Desktop is running: On your self-hosted agent machine, ensure that Docker Desktop is running. You should see the Docker icon in the system tray.
Start Docker Desktop: If it's not running, start it.
##[error]The process 'C:\Program Files\Docker\Docker\resources\bin\docker.exe' failed with exit code 1.
Docker is installed in different location so change in YAML file
Rely on the PATH: The Docker@2 task will use the docker command found in the system's PATH environment variable.
Ensure PATH is correct: correct path of docker.exe in environment PATH
change
To
make sure docker desktop is running and logged in
##[error]Unable to locate executable file: 'az'. Please verify either the file path exists or the file can be found within a directory
Restart the Agent Service: If the agent was already running before installing the Azure CLI, restart the self-hosted agent service so it picks up the updated environment.
Verify Installation and Path:
az --version
##[error]Error Code: [1] ##[error]Error: Unable to update Azure Container App via 'az containerapp update' command.
make sure you have both reader and writer permission in Application registration under Active Directory
Add Reader Permission using CLI
az role assignment create --assignee <application-clientid> --role Reader--scope "/subscriptions/<subscription-id>"
Add Writer Permission using CLI
az role assignment create --assignee <application-clientid> --role Contributor --scope "/subscriptions/<subscription-id>"
Check Permission to your application client id
az role assignment list --assignee <application-clientid>