Code Monkey home page Code Monkey logo

Comments (4)

viceice avatar viceice commented on June 10, 2024

The ubuntu user is available in the docker images and it's only used for the child container. So what are your logs?

We need to override the docker group, otherwise renovate container won't have access to docker socket.

Also the docker group id on GitHub hosted agent and renovate image are different, that's why we need to override it for the action. Search closed issues about it.

from github-action.

piotrwielgolaski-tomtom avatar piotrwielgolaski-tomtom commented on June 10, 2024

here is sample of error

 WARN: Gradle extraction failed (repository=myrepo)
       "errMessage": "Command failed: docker pull docker.io/renovate/gradle\nGot permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=renovate%2Fgradle&tag=latest: dial unix /var/run/docker.sock: connect: permission denied\n"
 INFO: Dependency extraction complete (repository=myrepo)
       "baseBranch": "master",
       "stats": {
         "managers": {
           "gradle-wrapper": {"fileCount": 1, "depCount": 1},
           "npm": {"fileCount": 1, "depCount": 17}
         },
         "total": {"fileCount": 2, "depCount": 18}
       }

from github-action.

viceice avatar viceice commented on June 10, 2024

Do you have a docker group on the docker host? I think that is required to get renovate to grant expected group

from github-action.

viceice avatar viceice commented on June 10, 2024

@piotrwielgolaski-tomtom if i remove the docker user for hosted agent we get access denied too, see #553.

So the only solution is to add a new config option to override / disable user config.

from github-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.