Skip to content

Failed to connect to the docker API error when runs-on ubuntu-slim #38

@sasurau4

Description

@sasurau4

Overview

This is a bug report

When runs-on ubuntu-slim, this actions failed.

This seems ubuntu-slim runner is executed in a container rather than full VM

ref: https://docs.github.com/en/actions/reference/runners/github-hosted-runners#single-cpu-runners

Reproduction

version: v2.1.2

  1. runs this actions on ubuntu-slim runner

Bug report

Expected behavior

  • successfully finished the action

Actual behavior

Failed with following log

ERROR: failed to connect to the docker API at unix:///var/run/docker.sock; check if the path is correct and if the daemon is running: dial unix /var/run/docker.sock: connect: no such file or directory

Workaround

Use curl based api

ref: https://docs.rollbar.com/reference/post-deploy

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