question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Azure pipeline execution - process '/usr/bin/docker' failed with exit code 1

See original GitHub issue

Error:

...
5c14dd7cf847: Pull complete
72c9e99967c5: Pull complete
Digest: sha256:629e24b3595b970299422de925ea1632535c166a788a1689623667c49c25f065
Status: Downloaded newer image for tingle/dependabot-azure-devops:0.5
warning: parser/current is loading parser/ruby27, which recognizes
warning: 2.7.4-compliant syntax, but you are running 2.7.1.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
/home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-nuget-0.159.0/lib/dependabot/nuget/file_fetcher.rb:42:in `fetch_files': Dependabot::DependencyFileNotFound (Dependabot::DependencyFileNotFound)
	from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-common-0.159.0/lib/dependabot/file_fetchers/base.rb:65:in `files'
	from ./update-script.rb:245:in `<main>'
Using hostname = 'dev.azure.com', protocol = 'https', port = '443'.
Using 'https://dev.azure.com:443/' as API endpoint
Fetching nuget dependency files for XXX/Dev/_git/XXX-example
Targeting 'master' branch under '/src' directory
Using 'auto' requirements update strategy
##[error]The process '/usr/bin/docker' failed with exit code 1
...

Pipeline:

pool:
  vmImage: 'ubuntu-latest'

steps:
  - task: dependabot@1
    inputs:
      packageManager: 'nuget'
      directory: '/src'
      targetBranch: 'master'
      versioningStrategy: 'auto'
      setAutoComplete: true
      azureDevOpsAccessToken: '$(PAT)'
      targetRepositoryName: 'XXX-example'

I can’t see any different error than process '/usr/bin/docker' failed with exit code 1. Can you help me with that?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
MO2k4commented, Sep 30, 2021

I think you are missing some permissions

image

3reactions
MO2k4commented, Oct 12, 2021

I think you are missing some permissions

image

@ray-kay did you set this permissions?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error by creation a Docker Image in Azure DevOps with VS ...
Conclusion when i start my pipeline so I get this error ... no such file or directory /usr/bin/docker failed with return code: 1....
Read more >
[Pipelines] Docker exec fail with exit code 1 when using ...
I am trying to create a YAML-based pipeline that uses container jobs using a YAML file like this: trigger: - master pool: vmImage: ......
Read more >
Azure container registry error - connection refused
I am managing a build pipeline which pushes a docker image onto ACR, it intermittently fails however once it is executed the second...
Read more >
Initialize containers: Docker login fail with exit code 1
Re: Azure DevOps Pipelines failing: Initialize containers: Docker login fail with exit code 1 ... - Go to the SP, create a new...
Read more >
Azure CLI DevOps deploy fails with exit code: 1
Hello there,. Is there anything in the deployment logs? Exit Code 1 means that a container terminated, typically due to an application error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found