You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting the next error when the task is executing on Microsoft Hosted Agents, tested with Windows 2019, 2022 and 2025 images:
Invoking 'C:\Windows\system32\docker.exe' with command 'login'
##[debug]which 'C:\Windows\system32\docker.exe'
##[debug]found: 'C:\Windows\system32\docker.exe'
##[debug]C:\Windows\system32\docker.exe arg: login
##[debug]C:\Windows\system32\docker.exe arg: -u
##[debug]C:\Windows\system32\docker.exe arg: AWS
##[debug]C:\Windows\system32\docker.exe arg: -p
##[debug]C:\Windows\system32\docker.exe arg: theTokenGenerated
##[debug]C:\Windows\system32\docker.exe arg: https://accountID.dkr.ecr.us-east-1.amazonaws.com/
##[debug]exec tool: C:\Windows\system32\docker.exe
##[debug]arguments:
##[debug] login
##[debug] -u
##[debug] AWS
##[debug] -p
##[debug] theTokenGenerated
##[debug] https://accountID.dkr.ecr.us-east-1.amazonaws.com/
##[debug]Process exited with code 1 and signal null for tool 'C:\Windows\system32\docker.exe'
##[debug]STDIO streams have closed and received exit code 1 and signal null for tool 'C:\Windows\system32\docker.exe'
##[debug]task result: Failed
##[error]Error: The process 'C:\Windows\system32\docker.exe' failed with exit code 1
##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;]Error: The process 'C:\Windows\system32\docker.exe' failed with exit code 1
##[debug]Processed: ##vso[task.complete result=Failed;]Error: The process 'C:\Windows\system32\docker.exe' failed with exit code 1
(The token and the account id where replaced by 'theTokenGenerated' and 'accountID' in order to avoid issues)
To reproduce
Go to any ADO org where you have access
Specify a pipeline with any windows agent and add the task on it, I have it on a template (Both yamls manually created and placed on a repo) but should be able to manage to mount it trough the ui.
Create the pipeline on ADO referencing the yaml
Run the pipeline
Get the error (?)
Expected behavior
Task publishes the image to ECR
Your Environment
Cloud based, microsoft hosted agents
AWS Toolkit for Azure DevOps version 1.20.0
Additional context
I'm currently using this task on ubuntu agents without issues, but now I'm forced to build a net framework 4.8 app and I'm forced to use windows agents in order to build with the dockerfile.
The text was updated successfully, but these errors were encountered:
Describe the bug
Getting the next error when the task is executing on Microsoft Hosted Agents, tested with Windows 2019, 2022 and 2025 images:
Invoking 'C:\Windows\system32\docker.exe' with command 'login'
##[debug]which 'C:\Windows\system32\docker.exe'
##[debug]found: 'C:\Windows\system32\docker.exe'
##[debug]C:\Windows\system32\docker.exe arg: login
##[debug]C:\Windows\system32\docker.exe arg: -u
##[debug]C:\Windows\system32\docker.exe arg: AWS
##[debug]C:\Windows\system32\docker.exe arg: -p
##[debug]C:\Windows\system32\docker.exe arg: theTokenGenerated
##[debug]C:\Windows\system32\docker.exe arg: https://accountID.dkr.ecr.us-east-1.amazonaws.com/
##[debug]exec tool: C:\Windows\system32\docker.exe
##[debug]arguments:
##[debug] login
##[debug] -u
##[debug] AWS
##[debug] -p
##[debug] theTokenGenerated
##[debug] https://accountID.dkr.ecr.us-east-1.amazonaws.com/
##[debug]Process exited with code 1 and signal null for tool 'C:\Windows\system32\docker.exe'
##[debug]STDIO streams have closed and received exit code 1 and signal null for tool 'C:\Windows\system32\docker.exe'
##[debug]task result: Failed
##[error]Error: The process 'C:\Windows\system32\docker.exe' failed with exit code 1
##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;]Error: The process 'C:\Windows\system32\docker.exe' failed with exit code 1
##[debug]Processed: ##vso[task.complete result=Failed;]Error: The process 'C:\Windows\system32\docker.exe' failed with exit code 1
(The token and the account id where replaced by 'theTokenGenerated' and 'accountID' in order to avoid issues)
To reproduce
Expected behavior
Task publishes the image to ECR
Your Environment
Additional context
I'm currently using this task on ubuntu agents without issues, but now I'm forced to build a net framework 4.8 app and I'm forced to use windows agents in order to build with the dockerfile.
The text was updated successfully, but these errors were encountered: