Skip to content

Action fails due to docker: toomanyrequests #62

@emarchak

Description

@emarchak

We're using this step in our gh actions and it failed due to the following error.

It looks like we're unauthenticated with docker when pulling the mongodb lib, and I can't see anything in this actions code/readme authenticating against docker. Plus we're only running a few actions a day (small company), so my assumption is that we hit a rate limit with a few other anonymous users.

Any thoughts on how to correct this?

Selecting correct MongoDB client
    - Using MongoDB client: [mongosh --quiet]
  
Starting MongoDB as single-node replica set
    - port [42069]
    - version [5.0]
    - replica set [rs0]
  
  Unable to find image 'mongo:5.0' locally
  5.0: Pulling from library/mongo
  docker: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
  See 'docker run --help'.
  Error starting MongoDB Docker container

Our config is the following:

      # Step: Start MongoDB
    - name: Start MongoDB
      uses: supercharge/[email protected]
      with:
        mongodb-version: "5.0"
        mongodb-port: 42069
        mongodb-replica-set: rs0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions