[GH-ISSUE #1980] Fails silently when docker is not running #947

Closed
opened 2026-03-01 21:47:39 +03:00 by kerem · 0 comments
Owner

Originally created by @sobraljuanpa on GitHub (Aug 21, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1980

Bug report info

ct version:            0.2.49
GOOS:                   darwin
GOARCH:                 arm64
NumCPU:                 8
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
        /var/run/docker.sock
        $HOME/.docker/run/docker.sock
Config files:           
        /Users/juan/.actrc:
                -P ubuntu-latest=catthehacker/ubuntu:act-latest
                -P ubuntu-22.04=catthehacker/ubuntu:act-22.04
                -P ubuntu-20.04=catthehacker/ubuntu:act-20.04
                -P ubuntu-18.04=catthehacker/ubuntu:act-18.04
Build info:
        Go version:            go1.20.6
        Module path:           command-line-arguments
        Main version:          
        Main path:             
        Main checksum:         
        Build settings:
                -buildmode:           exe
                -compiler:            gc
                -ldflags:             -X main.version=0.2.49
                CGO_ENABLED:          1
                CGO_CFLAGS:           
                CGO_CPPFLAGS:         
                CGO_CXXFLAGS:         
                CGO_LDFLAGS:          
                GOARCH:               arm64
                GOOS:                 darwin
Docker Engine:
        Engine version:        23.0.5
        Engine runtime:        runc
        Cgroup version:        2
        Cgroup driver:         cgroupfs
        Storage driver:        overlay2
        Registry URI:          https://index.docker.io/v1/
        OS:                    Docker Desktop
        OS type:               linux
        OS version:            
        OS arch:               aarch64
        OS kernel:             5.15.49-linuxkit
        OS CPU:                4
        OS memory:             7851 MB
        Security options:
                name=seccomp,profile=builtin
                name=cgroupns

Command used with act

act -j auctions-management --container-architecture linux/amd64

Describe issue

When running act commands with the docker daemon not running, no warning or notification is provided to the user.

This might be an improvement rather than a bug.

No response

Workflow content

name: Lint build and unit test users management service

on:
    push:
      branches: ["main", "dev"]
    pull_request:
        branches: ["main", "dev"]

jobs:
    lint-build-unit:
        runs-on: ubuntu-latest
        defaults:
            run:
              working-directory: ./users-management-service/
        steps:
        - uses: actions/checkout@v3
        - uses: actions/setup-node@v3
          with:
            cache: 'npm'
            cache-dependency-path: './users-management-service/package-lock.json'
        - run: npm ci
        - run: npm run lint
        - run: npm run build
        - run: npm run test:cov

Relevant log output

No output is the issue

Additional information

No response

Originally created by @sobraljuanpa on GitHub (Aug 21, 2023). Original GitHub issue: https://github.com/nektos/act/issues/1980 ### Bug report info ```plain text ct version: 0.2.49 GOOS: darwin GOARCH: arm64 NumCPU: 8 Docker host: DOCKER_HOST environment variable is not set Sockets found: /var/run/docker.sock $HOME/.docker/run/docker.sock Config files: /Users/juan/.actrc: -P ubuntu-latest=catthehacker/ubuntu:act-latest -P ubuntu-22.04=catthehacker/ubuntu:act-22.04 -P ubuntu-20.04=catthehacker/ubuntu:act-20.04 -P ubuntu-18.04=catthehacker/ubuntu:act-18.04 Build info: Go version: go1.20.6 Module path: command-line-arguments Main version: Main path: Main checksum: Build settings: -buildmode: exe -compiler: gc -ldflags: -X main.version=0.2.49 CGO_ENABLED: 1 CGO_CFLAGS: CGO_CPPFLAGS: CGO_CXXFLAGS: CGO_LDFLAGS: GOARCH: arm64 GOOS: darwin Docker Engine: Engine version: 23.0.5 Engine runtime: runc Cgroup version: 2 Cgroup driver: cgroupfs Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Docker Desktop OS type: linux OS version: OS arch: aarch64 OS kernel: 5.15.49-linuxkit OS CPU: 4 OS memory: 7851 MB Security options: name=seccomp,profile=builtin name=cgroupns ``` ### Command used with act ```sh act -j auctions-management --container-architecture linux/amd64 ``` ### Describe issue When running act commands with the docker daemon not running, no warning or notification is provided to the user. This might be an improvement rather than a bug. ### Link to GitHub repository _No response_ ### Workflow content ```yml name: Lint build and unit test users management service on: push: branches: ["main", "dev"] pull_request: branches: ["main", "dev"] jobs: lint-build-unit: runs-on: ubuntu-latest defaults: run: working-directory: ./users-management-service/ steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: cache: 'npm' cache-dependency-path: './users-management-service/package-lock.json' - run: npm ci - run: npm run lint - run: npm run build - run: npm run test:cov ``` ### Relevant log output ```sh No output is the issue ``` ### Additional information _No response_
kerem 2026-03-01 21:47:39 +03:00
  • closed this issue
  • added the
    kind/bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#947
No description provided.