Skip to content

Add warning when Docker installation not found #440

@nelsonni

Description

@nelsonni

Version: v0.2.17
Platform: MacOS
Command: act -n
main.workflow file:

name: Manually triggered workflow
on:
  workflow_dispatch:
    inputs:
      name:
        description: 'Person to greet'
        required: true
        default: 'Mona the Octocat'
      home:
        description: 'location'
        required: false
        default: 'The Octoverse'

jobs:
  say_hello:
    runs-on: ubuntu-latest
    steps:
    - run: |
        echo "Hello ${{ github.event.inputs.name }}!"
        echo "- in ${{ github.event.inputs.home }}!"

Output:

(blank)

Expected Output:
A warning indicating that Docker needs to be installed.

If Docker is installed, but the Docker Daemon isn't running, then there is the following warning:

Error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Can this type of check and warning be replicated when Docker is missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions