[GH-ISSUE #917] Issue: failed to run docker containers as steps #546

Closed
opened 2026-03-01 21:44:21 +03:00 by kerem · 6 comments
Owner

Originally created by @KnisterPeter on GitHub (Dec 8, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/917

Originally assigned to: @catthehacker on GitHub.

System information

  • Operating System: Debian Linux
  • Architecture: amd64
  • Docker version: Docker version 20.10.8+dfsg1, build 3967b7d
  • Docker image used in act: node:12-buster-slim
  • act version: Latest master

Expected behaviour

This workflow should output the node.js version installed in the alpine container:

name: CI

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: docker://node:alpine
        with:
          args: -v

Actual behaviour

This is the panic log:

DEBU[0000] Loading environment from /tmp/act-test/.env  
DEBU[0000] Loading secrets from /tmp/act-test/.secrets  
DEBU[0000] Loading workflows from '/tmp/act-test/.github/workflows' 
DEBU[0000] Loading workflows recursively                
DEBU[0000] Found workflow 'test.yml' in '/tmp/act-test/.github/workflows/test.yml' 
DEBU[0000] Reading workflow '/tmp/act-test/.github/workflows/test.yml' 
DEBU[0000] Correcting if statements '/tmp/act-test/.github/workflows/test.yml' 
DEBU[0000] Planning event: push                         
DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' 
DEBU[0000] using github ref: refs/heads/docker-uses     
DEBU[0000] context steps => map[]                       
DEBU[0000] context env => map[ACT:true]                 
DEBU[0000] context needs => map[]                       
[CI/build] 🚀  Start image=node:12-buster-slim
DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' 
DEBU[0000] using github ref: refs/heads/docker-uses     
[CI/build]   🐳  docker pull image=node:12-buster-slim platform= username= forcePull=false
[CI/build]   🐳  docker pull node:12-buster-slim
DEBU[0000] Image exists? true                           
[CI/build] Removed container: 1eb85585a1a28a285a05dfe1a4552fd7a1749557ddcef4b86db084d761dc8fcf
[CI/build]   🐳  docker volume rm act-CI-build
[CI/build]   🐳  docker create image=node:12-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[CI/build] Created container name=act-CI-build id=3b969259a97e0bd45c7cd23c8b1a6a41e1b7d4daf42ce351686c7b2be709174e from image node:12-buster-slim (platform: )
[CI/build] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[CI/build]   🐳  docker run image=node:12-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[CI/build] Starting container: 3b969259a97e0bd45c7cd23c8b1a6a41e1b7d4daf42ce351686c7b2be709174e
[CI/build] Started container: 3b969259a97e0bd45c7cd23c8b1a6a41e1b7d4daf42ce351686c7b2be709174e
[CI/build]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir=
[CI/build] Exec command '[mkdir -m 0777 -p /var/run/act]'
[CI/build] Working directory '/tmp/act-test'
DEBU[0000] Writing entry to tarball workflow/event.json len:2 
DEBU[0000] Writing entry to tarball workflow/envs.txt len:0 
DEBU[0000] Writing entry to tarball workflow/paths.txt len:0 
[CI/build] Extracting content to '/var/run/act/'
DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' 
DEBU[0000] using github ref: refs/heads/docker-uses     
DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' 
DEBU[0000] using github ref: refs/heads/docker-uses     
DEBU[0000] context steps => map[0:map[conclusion:success outcome:success outputs:map[]]] 
DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] 
DEBU[0000] context needs => map[]                       
DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' 
DEBU[0000] using github ref: refs/heads/docker-uses     
DEBU[0000] context steps => map[0:map[conclusion:success outcome:success outputs:map[]]] 
DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] 
DEBU[0000] context needs => map[]                       
DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test INPUT_ARGS:-v ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] 
[CI/build] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test INPUT_ARGS:-v ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15]
[CI/build] ⭐  Run docker://node:alpine
DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' 
DEBU[0000] using github ref: refs/heads/docker-uses     
DEBU[0000] context steps => map[0:map[conclusion:success outcome:success outputs:map[]]] 
DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] 
DEBU[0000] context needs => map[]                       
DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' 
DEBU[0000] using github ref: refs/heads/docker-uses     
DEBU[0000] context steps => map[0:map[conclusion:success outcome:success outputs:map[]]] 
DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] 
DEBU[0000] context needs => map[]                       
DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' 
DEBU[0000] using github ref: refs/heads/docker-uses     
DEBU[0000] context steps => map[0:map[conclusion:success outcome:success outputs:map[]]] 
DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] 
DEBU[0000] context needs => map[]                       
DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test INPUT_ARGS:-v ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] 
[CI/build]   🐳  docker pull image=node:alpine platform= username= forcePull=false
[CI/build]   🐳  docker pull node:alpine
DEBU[0000] Image exists? true                           
[CI/build]   🐳  docker create image=node:alpine platform= entrypoint=[] cmd=["-v"]
[CI/build] Created container name=act-CI-build-0 id=c07bf68d98de373eb1d09b4f76a89f37558a4829a5756e0453b1884b58990b96 from image node:alpine (platform: )
[CI/build] ENV ==> [RUNNER_PERFLOG=/dev/null YARN_VERSION=1.22.15 GITHUB_TOKEN= ImageOS=ubuntu20 GITHUB_ACTION_REPOSITORY= GITHUB_GRAPHQL_URL=https://api.github.com/graphql GITHUB_REPOSITORY_OWNER=ZauberNerd GITHUB_ACTION_REF= NODE_VERSION=12.22.7 CI=true GITHUB_JOB=build GITHUB_RETENTION_DAYS=0 GITHUB_RUN_ID=1 GITHUB_BASE_REF= GITHUB_EVENT_NAME=push GITHUB_ACTIONS=true GITHUB_REF=refs/heads/docker-uses INPUT_ARGS=-v RUNNER_TRACKING_ID= GITHUB_ENV=/var/run/act/workflow/envs.txt GITHUB_SHA=e5ff86528d69197caaf191cd157a609333c52787 GITHUB_REPOSITORY=ZauberNerd/act-test GITHUB_SERVER_URL=https://github.com GITHUB_WORKFLOW=CI GITHUB_PATH=/var/run/act/workflow/paths.txt GITHUB_HEAD_REF= GITHUB_RUN_NUMBER=1 ACT=true GITHUB_EVENT_PATH=/var/run/act/workflow/event.json PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GITHUB_ACTOR=nektos/act GITHUB_ACTION=0 GITHUB_WORKSPACE=/tmp/act-test GITHUB_API_URL=https://api.github.com RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[CI/build]   🐳  docker run image=node:alpine platform= entrypoint=[] cmd=["-v"]
[CI/build] Starting container: c07bf68d98de373eb1d09b4f76a89f37558a4829a5756e0453b1884b58990b96
DEBU[0000] Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "-v": executable file not found in $PATH: unknown
github.com/nektos/act/pkg/container.(*containerReference).start.func1
	/home/markusw/source/act/pkg/container/docker_run.go:745
github.com/nektos/act/pkg/common.Executor.Then.func1
	/home/markusw/source/act/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/home/markusw/source/act/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.IfNot.func1
	/home/markusw/source/act/pkg/common/executor.go:164
github.com/nektos/act/pkg/common.Executor.Then.func1
	/home/markusw/source/act/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/home/markusw/source/act/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Finally.func1
	/home/markusw/source/act/pkg/common/executor.go:180
github.com/nektos/act/pkg/common.Executor.Finally.func1
	/home/markusw/source/act/pkg/common/executor.go:180
github.com/nektos/act/pkg/runner.(*StepContext).runUsesContainer.func1
	/home/markusw/source/act/pkg/runner/step_context.go:328
github.com/nektos/act/pkg/runner.(*RunContext).newStepExecutor.func1
	/home/markusw/source/act/pkg/runner/run_context.go:339
github.com/nektos/act/pkg/common.Executor.Then.func1
	/home/markusw/source/act/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/home/markusw/source/act/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Finally.func1
	/home/markusw/source/act/pkg/common/executor.go:180
github.com/nektos/act/pkg/common.Executor.Finally.func1
	/home/markusw/source/act/pkg/common/executor.go:180
github.com/nektos/act/pkg/common.Executor.If.func1
	/home/markusw/source/act/pkg/common/executor.go:154
github.com/nektos/act/pkg/common.Executor.Finally.func1
	/home/markusw/source/act/pkg/common/executor.go:180
github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1
	/home/markusw/source/act/pkg/runner/runner.go:157
github.com/nektos/act/pkg/common.Executor.ChannelError.func1
	/home/markusw/source/act/pkg/common/executor.go:125
github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1
	/home/markusw/source/act/pkg/common/executor.go:101
runtime.goexit
	/home/markusw/.gvm/gos/go1.16.3/src/runtime/asm_amd64.s:1371 
[CI/build] Removed container: c07bf68d98de373eb1d09b4f76a89f37558a4829a5756e0453b1884b58990b96
[CI/build]   ❌  Failure - docker://node:alpine
DEBU[0000] Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "-v": executable file not found in $PATH: unknown
github.com/nektos/act/pkg/container.(*containerReference).start.func1
	/home/markusw/source/act/pkg/container/docker_run.go:745
github.com/nektos/act/pkg/common.Executor.Then.func1
	/home/markusw/source/act/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/home/markusw/source/act/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.IfNot.func1
	/home/markusw/source/act/pkg/common/executor.go:164
github.com/nektos/act/pkg/common.Executor.Then.func1
	/home/markusw/source/act/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/home/markusw/source/act/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Finally.func1
	/home/markusw/source/act/pkg/common/executor.go:180
github.com/nektos/act/pkg/common.Executor.Finally.func1
	/home/markusw/source/act/pkg/common/executor.go:180
github.com/nektos/act/pkg/runner.(*StepContext).runUsesContainer.func1
	/home/markusw/source/act/pkg/runner/step_context.go:328
github.com/nektos/act/pkg/runner.(*RunContext).newStepExecutor.func1
	/home/markusw/source/act/pkg/runner/run_context.go:339
github.com/nektos/act/pkg/common.Executor.Then.func1
	/home/markusw/source/act/pkg/common/executor.go:146
github.com/nektos/act/pkg/common.Executor.Then.func1
	/home/markusw/source/act/pkg/common/executor.go:133
github.com/nektos/act/pkg/common.Executor.Finally.func1
	/home/markusw/source/act/pkg/common/executor.go:180
github.com/nektos/act/pkg/common.Executor.Finally.func1
	/home/markusw/source/act/pkg/common/executor.go:180
github.com/nektos/act/pkg/common.Executor.If.func1
	/home/markusw/source/act/pkg/common/executor.go:154
github.com/nektos/act/pkg/common.Executor.Finally.func1
	/home/markusw/source/act/pkg/common/executor.go:180
github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1
	/home/markusw/source/act/pkg/runner/runner.go:157
github.com/nektos/act/pkg/common.Executor.ChannelError.func1
	/home/markusw/source/act/pkg/common/executor.go:125
github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1
	/home/markusw/source/act/pkg/common/executor.go:101
runtime.goexit
	/home/markusw/.gvm/gos/go1.16.3/src/runtime/asm_amd64.s:1371 
DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' 
DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 
DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' 
DEBU[0000] using github ref: refs/heads/docker-uses     
DEBU[0000] context steps => map[0:map[conclusion:failure outcome:failure outputs:map[]]] 
DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] 
DEBU[0000] context needs => map[]                       
Error: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "-v": executable file not found in $PATH: unknown
Originally created by @KnisterPeter on GitHub (Dec 8, 2021). Original GitHub issue: https://github.com/nektos/act/issues/917 Originally assigned to: @catthehacker on GitHub. ## System information <!-- - Operating System: < Windows | Linux | macOS | etc... > - Architecture: < x64 (64-bit) | x86 (32-bit) | arm64 (64-bit) | arm (32-bit) | etc... > - Apple M1: < yes | no > - Docker version: < output of `docker system info -f "{{.ServerVersion}}"` > - Docker image used in `act`: < can be omitted if it's included in log > - `act` version: < output of `act --version`, if you've built `act` yourself, please provide commit hash > --> - Operating System: Debian Linux - Architecture: amd64 - Docker version: Docker version 20.10.8+dfsg1, build 3967b7d - Docker image used in `act`: node:12-buster-slim - `act` version: Latest `master` ## Expected behaviour This workflow should output the node.js version installed in the alpine container: ```yml name: CI on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: docker://node:alpine with: args: -v ``` ## Actual behaviour This is the panic log: ``` DEBU[0000] Loading environment from /tmp/act-test/.env DEBU[0000] Loading secrets from /tmp/act-test/.secrets DEBU[0000] Loading workflows from '/tmp/act-test/.github/workflows' DEBU[0000] Loading workflows recursively DEBU[0000] Found workflow 'test.yml' in '/tmp/act-test/.github/workflows/test.yml' DEBU[0000] Reading workflow '/tmp/act-test/.github/workflows/test.yml' DEBU[0000] Correcting if statements '/tmp/act-test/.github/workflows/test.yml' DEBU[0000] Planning event: push DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' DEBU[0000] using github ref: refs/heads/docker-uses DEBU[0000] context steps => map[] DEBU[0000] context env => map[ACT:true] DEBU[0000] context needs => map[] [CI/build] 🚀 Start image=node:12-buster-slim DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' DEBU[0000] using github ref: refs/heads/docker-uses [CI/build] 🐳 docker pull image=node:12-buster-slim platform= username= forcePull=false [CI/build] 🐳 docker pull node:12-buster-slim DEBU[0000] Image exists? true [CI/build] Removed container: 1eb85585a1a28a285a05dfe1a4552fd7a1749557ddcef4b86db084d761dc8fcf [CI/build] 🐳 docker volume rm act-CI-build [CI/build] 🐳 docker create image=node:12-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [CI/build] Created container name=act-CI-build id=3b969259a97e0bd45c7cd23c8b1a6a41e1b7d4daf42ce351686c7b2be709174e from image node:12-buster-slim (platform: ) [CI/build] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [CI/build] 🐳 docker run image=node:12-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [CI/build] Starting container: 3b969259a97e0bd45c7cd23c8b1a6a41e1b7d4daf42ce351686c7b2be709174e [CI/build] Started container: 3b969259a97e0bd45c7cd23c8b1a6a41e1b7d4daf42ce351686c7b2be709174e [CI/build] 🐳 docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir= [CI/build] Exec command '[mkdir -m 0777 -p /var/run/act]' [CI/build] Working directory '/tmp/act-test' DEBU[0000] Writing entry to tarball workflow/event.json len:2 DEBU[0000] Writing entry to tarball workflow/envs.txt len:0 DEBU[0000] Writing entry to tarball workflow/paths.txt len:0 [CI/build] Extracting content to '/var/run/act/' DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' DEBU[0000] using github ref: refs/heads/docker-uses DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' DEBU[0000] using github ref: refs/heads/docker-uses DEBU[0000] context steps => map[0:map[conclusion:success outcome:success outputs:map[]]] DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] DEBU[0000] context needs => map[] DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' DEBU[0000] using github ref: refs/heads/docker-uses DEBU[0000] context steps => map[0:map[conclusion:success outcome:success outputs:map[]]] DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] DEBU[0000] context needs => map[] DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test INPUT_ARGS:-v ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] [CI/build] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test INPUT_ARGS:-v ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] [CI/build] ⭐ Run docker://node:alpine DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' DEBU[0000] using github ref: refs/heads/docker-uses DEBU[0000] context steps => map[0:map[conclusion:success outcome:success outputs:map[]]] DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] DEBU[0000] context needs => map[] DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' DEBU[0000] using github ref: refs/heads/docker-uses DEBU[0000] context steps => map[0:map[conclusion:success outcome:success outputs:map[]]] DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] DEBU[0000] context needs => map[] DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' DEBU[0000] using github ref: refs/heads/docker-uses DEBU[0000] context steps => map[0:map[conclusion:success outcome:success outputs:map[]]] DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] DEBU[0000] context needs => map[] DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test INPUT_ARGS:-v ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] [CI/build] 🐳 docker pull image=node:alpine platform= username= forcePull=false [CI/build] 🐳 docker pull node:alpine DEBU[0000] Image exists? true [CI/build] 🐳 docker create image=node:alpine platform= entrypoint=[] cmd=["-v"] [CI/build] Created container name=act-CI-build-0 id=c07bf68d98de373eb1d09b4f76a89f37558a4829a5756e0453b1884b58990b96 from image node:alpine (platform: ) [CI/build] ENV ==> [RUNNER_PERFLOG=/dev/null YARN_VERSION=1.22.15 GITHUB_TOKEN= ImageOS=ubuntu20 GITHUB_ACTION_REPOSITORY= GITHUB_GRAPHQL_URL=https://api.github.com/graphql GITHUB_REPOSITORY_OWNER=ZauberNerd GITHUB_ACTION_REF= NODE_VERSION=12.22.7 CI=true GITHUB_JOB=build GITHUB_RETENTION_DAYS=0 GITHUB_RUN_ID=1 GITHUB_BASE_REF= GITHUB_EVENT_NAME=push GITHUB_ACTIONS=true GITHUB_REF=refs/heads/docker-uses INPUT_ARGS=-v RUNNER_TRACKING_ID= GITHUB_ENV=/var/run/act/workflow/envs.txt GITHUB_SHA=e5ff86528d69197caaf191cd157a609333c52787 GITHUB_REPOSITORY=ZauberNerd/act-test GITHUB_SERVER_URL=https://github.com GITHUB_WORKFLOW=CI GITHUB_PATH=/var/run/act/workflow/paths.txt GITHUB_HEAD_REF= GITHUB_RUN_NUMBER=1 ACT=true GITHUB_EVENT_PATH=/var/run/act/workflow/event.json PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GITHUB_ACTOR=nektos/act GITHUB_ACTION=0 GITHUB_WORKSPACE=/tmp/act-test GITHUB_API_URL=https://api.github.com RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [CI/build] 🐳 docker run image=node:alpine platform= entrypoint=[] cmd=["-v"] [CI/build] Starting container: c07bf68d98de373eb1d09b4f76a89f37558a4829a5756e0453b1884b58990b96 DEBU[0000] Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "-v": executable file not found in $PATH: unknown github.com/nektos/act/pkg/container.(*containerReference).start.func1 /home/markusw/source/act/pkg/container/docker_run.go:745 github.com/nektos/act/pkg/common.Executor.Then.func1 /home/markusw/source/act/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /home/markusw/source/act/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.IfNot.func1 /home/markusw/source/act/pkg/common/executor.go:164 github.com/nektos/act/pkg/common.Executor.Then.func1 /home/markusw/source/act/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /home/markusw/source/act/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Finally.func1 /home/markusw/source/act/pkg/common/executor.go:180 github.com/nektos/act/pkg/common.Executor.Finally.func1 /home/markusw/source/act/pkg/common/executor.go:180 github.com/nektos/act/pkg/runner.(*StepContext).runUsesContainer.func1 /home/markusw/source/act/pkg/runner/step_context.go:328 github.com/nektos/act/pkg/runner.(*RunContext).newStepExecutor.func1 /home/markusw/source/act/pkg/runner/run_context.go:339 github.com/nektos/act/pkg/common.Executor.Then.func1 /home/markusw/source/act/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /home/markusw/source/act/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Finally.func1 /home/markusw/source/act/pkg/common/executor.go:180 github.com/nektos/act/pkg/common.Executor.Finally.func1 /home/markusw/source/act/pkg/common/executor.go:180 github.com/nektos/act/pkg/common.Executor.If.func1 /home/markusw/source/act/pkg/common/executor.go:154 github.com/nektos/act/pkg/common.Executor.Finally.func1 /home/markusw/source/act/pkg/common/executor.go:180 github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1 /home/markusw/source/act/pkg/runner/runner.go:157 github.com/nektos/act/pkg/common.Executor.ChannelError.func1 /home/markusw/source/act/pkg/common/executor.go:125 github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1 /home/markusw/source/act/pkg/common/executor.go:101 runtime.goexit /home/markusw/.gvm/gos/go1.16.3/src/runtime/asm_amd64.s:1371 [CI/build] Removed container: c07bf68d98de373eb1d09b4f76a89f37558a4829a5756e0453b1884b58990b96 [CI/build] ❌ Failure - docker://node:alpine DEBU[0000] Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "-v": executable file not found in $PATH: unknown github.com/nektos/act/pkg/container.(*containerReference).start.func1 /home/markusw/source/act/pkg/container/docker_run.go:745 github.com/nektos/act/pkg/common.Executor.Then.func1 /home/markusw/source/act/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /home/markusw/source/act/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.IfNot.func1 /home/markusw/source/act/pkg/common/executor.go:164 github.com/nektos/act/pkg/common.Executor.Then.func1 /home/markusw/source/act/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /home/markusw/source/act/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Finally.func1 /home/markusw/source/act/pkg/common/executor.go:180 github.com/nektos/act/pkg/common.Executor.Finally.func1 /home/markusw/source/act/pkg/common/executor.go:180 github.com/nektos/act/pkg/runner.(*StepContext).runUsesContainer.func1 /home/markusw/source/act/pkg/runner/step_context.go:328 github.com/nektos/act/pkg/runner.(*RunContext).newStepExecutor.func1 /home/markusw/source/act/pkg/runner/run_context.go:339 github.com/nektos/act/pkg/common.Executor.Then.func1 /home/markusw/source/act/pkg/common/executor.go:146 github.com/nektos/act/pkg/common.Executor.Then.func1 /home/markusw/source/act/pkg/common/executor.go:133 github.com/nektos/act/pkg/common.Executor.Finally.func1 /home/markusw/source/act/pkg/common/executor.go:180 github.com/nektos/act/pkg/common.Executor.Finally.func1 /home/markusw/source/act/pkg/common/executor.go:180 github.com/nektos/act/pkg/common.Executor.If.func1 /home/markusw/source/act/pkg/common/executor.go:154 github.com/nektos/act/pkg/common.Executor.Finally.func1 /home/markusw/source/act/pkg/common/executor.go:180 github.com/nektos/act/pkg/runner.(*runnerImpl).NewPlanExecutor.func1 /home/markusw/source/act/pkg/runner/runner.go:157 github.com/nektos/act/pkg/common.Executor.ChannelError.func1 /home/markusw/source/act/pkg/common/executor.go:125 github.com/nektos/act/pkg/common.NewParallelExecutor.func1.1 /home/markusw/source/act/pkg/common/executor.go:101 runtime.goexit /home/markusw/.gvm/gos/go1.16.3/src/runtime/asm_amd64.s:1371 DEBU[0000] Loading slug from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] Loading revision from git directory '/tmp/act-test/.git' DEBU[0000] Found revision: e5ff86528d69197caaf191cd157a609333c52787 DEBU[0000] HEAD points to 'e5ff86528d69197caaf191cd157a609333c52787' DEBU[0000] using github ref: refs/heads/docker-uses DEBU[0000] context steps => map[0:map[conclusion:failure outcome:failure outputs:map[]]] DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/docker-uses GITHUB_REPOSITORY:ZauberNerd/act-test GITHUB_REPOSITORY_OWNER:ZauberNerd GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e5ff86528d69197caaf191cd157a609333c52787 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/tmp/act-test ImageOS:ubuntu20 NODE_VERSION:12.22.7 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.15] DEBU[0000] context needs => map[] Error: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "-v": executable file not found in $PATH: unknown ```
Author
Owner

@github-actions[bot] commented on GitHub (Jan 8, 2022):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:1007831721 --> @github-actions[bot] commented on GitHub (Jan 8, 2022): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@vkhodygo commented on GitHub (Jan 12, 2022):

I have a suspicion I experience the same problem.
I use Arch with the following docker installed:

$docker version
Client:
 Version:           20.10.12
 API version:       1.41
 Go version:        go1.17.5
 Git commit:        e91ed5707e
 Built:             Mon Dec 13 22:31:40 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.12
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.17.5
  Git commit:       459d0dfbbb
  Built:            Mon Dec 13 22:30:43 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.5.9
  GitCommit:        1407cab509ff0d96baa4f0eb6ff9980270e6e620.m
 runc:
  Version:          1.0.3
  GitCommit:        v1.0.3-0-gf46b6ba2
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

I tried to build a .pdf document, and it looks to me that I fail at the same context needs => map[] step:

$act --version
act version 0.2.25
name: Build and release the manual

on: [push]

jobs:
  build_latex:
    runs-on: ubuntu-latest
    steps:
      - name: Set up Git repository
        uses: actions/checkout@master
      - name: Compile LaTeX document
        uses: dante-ev/latex-action@latest
        with:
          root_file: main.tex
          compiler: pdflatex
          args: -interaction=nonstopmode -shell-escape
<!-- gh-comment-id:1010947644 --> @vkhodygo commented on GitHub (Jan 12, 2022): I have a suspicion I experience the same problem. I use Arch with the following `docker` installed: ``` $docker version Client: Version: 20.10.12 API version: 1.41 Go version: go1.17.5 Git commit: e91ed5707e Built: Mon Dec 13 22:31:40 2021 OS/Arch: linux/amd64 Context: default Experimental: true Server: Engine: Version: 20.10.12 API version: 1.41 (minimum version 1.12) Go version: go1.17.5 Git commit: 459d0dfbbb Built: Mon Dec 13 22:30:43 2021 OS/Arch: linux/amd64 Experimental: false containerd: Version: v1.5.9 GitCommit: 1407cab509ff0d96baa4f0eb6ff9980270e6e620.m runc: Version: 1.0.3 GitCommit: v1.0.3-0-gf46b6ba2 docker-init: Version: 0.19.0 GitCommit: de40ad0 ``` I tried to build a `.pdf` document, and it looks to me that I fail at the same `context needs => map[]` step: ``` $act --version act version 0.2.25 ``` ```yaml name: Build and release the manual on: [push] jobs: build_latex: runs-on: ubuntu-latest steps: - name: Set up Git repository uses: actions/checkout@master - name: Compile LaTeX document uses: dante-ev/latex-action@latest with: root_file: main.tex compiler: pdflatex args: -interaction=nonstopmode -shell-escape ```
Author
Owner

@github-actions[bot] commented on GitHub (Feb 13, 2022):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:1037597325 --> @github-actions[bot] commented on GitHub (Feb 13, 2022): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@JJRcop commented on GitHub (Feb 19, 2022):

Still an issue

<!-- gh-comment-id:1045541258 --> @JJRcop commented on GitHub (Feb 19, 2022): Still an issue
Author
Owner

@josephgardner commented on GitHub (Mar 21, 2022):

Is there a workaround for this?

Edit: I got past this by installing node in the container as part of the workflow.

    steps:
      - if: ${{ env.ACT }}
        name: Hack container for local development
        run: |
            curl -fsSL https://deb.nodesource.com/setup_12.x | sudo -E bash -
            sudo apt-get install -y nodejs
<!-- gh-comment-id:1074421318 --> @josephgardner commented on GitHub (Mar 21, 2022): Is there a workaround for this? **Edit:** I got past this by installing node in the container as part of the workflow. ```yaml steps: - if: ${{ env.ACT }} name: Hack container for local development run: | curl -fsSL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt-get install -y nodejs ```
Author
Owner

@carlthome commented on GitHub (Mar 23, 2022):

Still an issue. I think this would only be a matter of mounting the --container-daemon-socket specified Docker daemon socket to the docker create command per job so the jobs can use the host's Docker.

<!-- gh-comment-id:1076812512 --> @carlthome commented on GitHub (Mar 23, 2022): Still an issue. I think this would only be a matter of mounting the `--container-daemon-socket` specified Docker daemon socket to the `docker create` command per job so the jobs can use the host's Docker.
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#546
No description provided.