[GH-ISSUE #2074] network-scoped alias is supported only for containers in user defined networks #993

Closed
opened 2026-03-01 21:48:00 +03:00 by kerem · 31 comments
Owner

Originally created by @Ironeer on GitHub (Nov 1, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/2074

Bug report info

act version:            0.2.53
GOOS:                   windows
GOARCH:                 amd64
NumCPU:                 8
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
        \\.\pipe\docker_engine(broken)
Config files:
        C:\Users\maxim\.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.10
        Module path:           github.com/nektos/act
        Main version:          (devel)
        Main path:             github.com/nektos/act
        Main checksum:
        Build settings:
                -buildmode:           exe
                -compiler:            gc
                -ldflags:             -s -w -X main.version=0.2.53 -X main.commit=1bb2ee7098f338765ce5169c850d0f19e59d3147 -X main.date=2023-11-01T02:14:01Z -X main.builtBy=goreleaser
                CGO_ENABLED:          0
                GOARCH:               amd64
                GOOS:                 windows
                GOAMD64:              v1
                vcs:                  git
                vcs.revision:         1bb2ee7098f338765ce5169c850d0f19e59d3147
                vcs.time:             2023-11-01T02:13:36Z
                vcs.modified:         false
Docker Engine:
        Engine version:        24.0.6
        Engine runtime:        runc
        Cgroup version:        1
        Cgroup driver:         cgroupfs
        Storage driver:        overlay2
        Registry URI:          https://index.docker.io/v1/
        OS:                    Docker Desktop
        OS type:               linux
        OS version:
        OS arch:               x86_64
        OS kernel:             5.15.90.1-microsoft-standard-WSL2
        OS CPU:                8
        OS memory:             7889 MB
        Security options:
                name=seccomp,profile=unconfined

Command used with act

act

Describe issue

docker image will not run with error:
Error: failed to start container: Error response from daemon: network-scoped alias is supported only for containers in user defined networks

It works fine when downgrading to 0.2.52
What I found: https://github.com/docker/compose-cli/issues/1619

No response

Workflow content

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle

name: Java CI with Gradle

on:
  push:
    branches: [ "master", "build_and_test_on_local_and_github" ]
  pull_request:
    branches: [ "master" ]

permissions:
  contents: read
  issues: read
  checks: write
  pull-requests: write

jobs:
  build-and-test-with-gradle:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - name: Set up JDK 8 and JDK with min version for ANTLR
      uses: actions/setup-java@v3
      with:
        java-version: |
          8
          19
        distribution: 'temurin'
    - name: java 8 compile everything in 'src/test/java' to 'build/test-classfiles'
      run: mkdir -p build/test-classfiles && cd src/test/resources/java && for dir in $(find -mindepth 1 -type d); do  find -name "*.java" | xargs javac -d ../../../../build/test-classfiles/$dir; done && ls ../../../../build/test-classfiles -R
    - name: Change wrapper permissions
      run: chmod +x ./gradlew
    - name: Build with Gradle
      uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
      with:
        arguments: build
    - name: Publish Test Results
      uses: EnricoMi/publish-unit-test-result-action@v2
      if: always()
      with:
        files: |
            build/test-results/test/TEST-*.xml

Relevant log output

time="2023-11-01T17:10:12+01:00" level=debug msg="Loading environment from C:\\Git\\compiler\\.env"
time="2023-11-01T17:10:12+01:00" level=debug msg="Loading action inputs from C:\\Git\\compiler\\.input"
time="2023-11-01T17:10:12+01:00" level=debug msg="Loading secrets from C:\\Git\\compiler\\.secrets"
time="2023-11-01T17:10:12+01:00" level=debug msg="Loading vars from C:\\Git\\compiler\\.vars"
time="2023-11-01T17:10:12+01:00" level=debug msg="Conditional GET for notices etag=4516f189-72d2-4e0d-aad8-45e63f4270d6"
time="2023-11-01T17:10:12+01:00" level=debug msg="Evaluated matrix inclusions: map[]"
time="2023-11-01T17:10:12+01:00" level=debug msg="Loading workflows from 'C:\\Git\\compiler\\.github\\workflows'"
time="2023-11-01T17:10:12+01:00" level=debug msg="Loading workflows recursively"
time="2023-11-01T17:10:12+01:00" level=debug msg="Found workflow 'gradle.yml' in 'C:\\Git\\compiler\\.github\\workflows\\gradle.yml'"
time="2023-11-01T17:10:12+01:00" level=debug msg="Reading workflow 'C:\\Git\\compiler\\.github\\workflows\\gradle.yml'"
time="2023-11-01T17:10:12+01:00" level=debug msg="Preparing plan with all jobs"
time="2023-11-01T17:10:12+01:00" level=debug msg="Using default workflow event: push"
time="2023-11-01T17:10:12+01:00" level=debug msg="Planning jobs for event: push"
time="2023-11-01T17:10:12+01:00" level=debug msg="gc: 2023-11-01 17:10:12.1455533 +0100 CET m=+0.039342801" module=artifactcache
time="2023-11-01T17:10:12+01:00" level=debug msg="Plan Stages: [0xc0003a23d8]"
time="2023-11-01T17:10:12+01:00" level=debug msg="Stages Runs: [build-and-test-with-gradle]"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Name: build-and-test-with-gradle"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.RawNeeds: {0 0    <nil> []    0 0}"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.RawRunsOn: {8 0 !!str ubuntu-latest  <nil> []    24 14}"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Env: {0 0    <nil> []    0 0}"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.If: {0 0  success()  <nil> []    0 0}"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Steps: actions/checkout@v3"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Steps: Set up JDK 8 and JDK with min version for ANTLR"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Steps: java 8 compile everything in 'src/test/java' to 'build/test-classfiles'"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Steps: Change wrapper permissions"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Steps: Build with Gradle"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Steps: Publish Test Results"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.TimeoutMinutes: "
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Services: map[]"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Strategy: <nil>"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.RawContainer: {0 0    <nil> []    0 0}"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Defaults.Run.Shell: "
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Defaults.Run.WorkingDirectory: "
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Outputs: map[]"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Uses: "
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.With: map[]"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Result: "
time="2023-11-01T17:10:12+01:00" level=debug msg="Empty Strategy, matrixes=[map[]]"
time="2023-11-01T17:10:12+01:00" level=debug msg="Job Matrices: [map[]]"
time="2023-11-01T17:10:12+01:00" level=debug msg="Runner Matrices: map[]"
time="2023-11-01T17:10:12+01:00" level=debug msg="Final matrix after applying user inclusions '[map[]]'"
time="2023-11-01T17:10:12+01:00" level=debug msg="Loading revision from git directory"
time="2023-11-01T17:10:12+01:00" level=debug msg="Found revision: 337362e1af0d251703c97494ffa1b9bd71b17304"
time="2023-11-01T17:10:12+01:00" level=debug msg="HEAD points to '337362e1af0d251703c97494ffa1b9bd71b17304'"
time="2023-11-01T17:10:12+01:00" level=debug msg="using github ref: refs/heads/build_and_test_on_local_and_github"
time="2023-11-01T17:10:12+01:00" level=debug msg="Found revision: 337362e1af0d251703c97494ffa1b9bd71b17304"
time="2023-11-01T17:10:12+01:00" level=debug msg="Detected CPUs: 8"
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG] evaluating expression 'success()'
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG] expression 'success()' evaluated to 'true'
[Java CI with Gradle/build-and-test-with-gradle] 🚀  Start image=catthehacker/ubuntu:act-latest
time="2023-11-01T17:10:12+01:00" level=info msg="Parallel tasks (0) below minimum, setting to 1"
[Java CI with Gradle/build-and-test-with-gradle]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG]   🐳  docker pull catthehacker/ubuntu:act-latest
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:act-latest' ()
time="2023-11-01T17:10:13+01:00" level=debug msg="Saving notices etag=4516f189-72d2-4e0d-aad8-45e63f4270d6"
time="2023-11-01T17:10:13+01:00" level=debug msg="No new notices"
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Pulling from catthehacker/ubuntu :: act-latest
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Digest: sha256:88030ffb426831aab0022f7beda465251e00c45d8746069349101c6902d94e4b ::
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Status: Image is up to date for catthehacker/ubuntu:act-latest ::
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Removed container: 652a6845bb0e1398327526fc8eb7ccda2bd3b1b524af2ad3bb3c334489896676
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG]   🐳  docker volume rm act-Java-CI-with-Gradle-build-and-test-with-gradle-ce7c01884ee4591db19584be89f26333ae41ccfff0b5f85430a32846d955a885
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG]   🐳  docker volume rm act-Java-CI-with-Gradle-build-and-test-with-gradle-ce7c01884ee4591db19584be89f26333ae41ccfff0b5f85430a32846d955a885-env
time="2023-11-01T17:10:13+01:00" level=info msg="Parallel tasks (0) below minimum, setting to 1"
[Java CI with Gradle/build-and-test-with-gradle]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:true OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:catthehacker/ubuntu:act-latest Volumes:map[] WorkingDir:/mnt/c/Git/compiler Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]}
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] Annotations:map[] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:<nil> Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-toolcache Target:/toolcache ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-Java-CI-with-Gradle-build-and-test-with-gradle-ce7c01884ee4591db19584be89f26333ae41ccfff0b5f85430a32846d955a885-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-Java-CI-with-Gradle-build-and-test-with-gradle-ce7c01884ee4591db19584be89f26333ae41ccfff0b5f85430a32846d955a885 Target:/mnt/c/Git/compiler ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>}
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG] input.NetworkAliases ==> [build-and-test-with-gradle]
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Created container name=act-Java-CI-with-Gradle-build-and-test-with-gradle-ce7c01884ee4591db19584be89f26333ae41ccfff0b5f85430a32846d955a885 id=caacdabf5b22e1af77100cd8d2f514c0b1692aabe728d3a008e079916a70e985 from image catthehacker/ubuntu:act-latest (platform: )
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
[Java CI with Gradle/build-and-test-with-gradle]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Starting container: caacdabf5b22e1af77100cd8d2f514c0b1692aabe728d3a008e079916a70e985
Error: failed to start container: Error response from daemon: network-scoped alias is supported only for containers in user defined networks

Additional information

No response

Originally created by @Ironeer on GitHub (Nov 1, 2023). Original GitHub issue: https://github.com/nektos/act/issues/2074 ### Bug report info ```plain text act version: 0.2.53 GOOS: windows GOARCH: amd64 NumCPU: 8 Docker host: DOCKER_HOST environment variable is not set Sockets found: \\.\pipe\docker_engine(broken) Config files: C:\Users\maxim\.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.10 Module path: github.com/nektos/act Main version: (devel) Main path: github.com/nektos/act Main checksum: Build settings: -buildmode: exe -compiler: gc -ldflags: -s -w -X main.version=0.2.53 -X main.commit=1bb2ee7098f338765ce5169c850d0f19e59d3147 -X main.date=2023-11-01T02:14:01Z -X main.builtBy=goreleaser CGO_ENABLED: 0 GOARCH: amd64 GOOS: windows GOAMD64: v1 vcs: git vcs.revision: 1bb2ee7098f338765ce5169c850d0f19e59d3147 vcs.time: 2023-11-01T02:13:36Z vcs.modified: false Docker Engine: Engine version: 24.0.6 Engine runtime: runc Cgroup version: 1 Cgroup driver: cgroupfs Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Docker Desktop OS type: linux OS version: OS arch: x86_64 OS kernel: 5.15.90.1-microsoft-standard-WSL2 OS CPU: 8 OS memory: 7889 MB Security options: name=seccomp,profile=unconfined ``` ### Command used with act ```sh act ``` ### Describe issue docker image will not run with error: Error: failed to start container: Error response from daemon: network-scoped alias is supported only for containers in user defined networks It works fine when downgrading to 0.2.52 What I found: https://github.com/docker/compose-cli/issues/1619 ### Link to GitHub repository _No response_ ### Workflow content ```yml # This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation. # This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle name: Java CI with Gradle on: push: branches: [ "master", "build_and_test_on_local_and_github" ] pull_request: branches: [ "master" ] permissions: contents: read issues: read checks: write pull-requests: write jobs: build-and-test-with-gradle: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up JDK 8 and JDK with min version for ANTLR uses: actions/setup-java@v3 with: java-version: | 8 19 distribution: 'temurin' - name: java 8 compile everything in 'src/test/java' to 'build/test-classfiles' run: mkdir -p build/test-classfiles && cd src/test/resources/java && for dir in $(find -mindepth 1 -type d); do find -name "*.java" | xargs javac -d ../../../../build/test-classfiles/$dir; done && ls ../../../../build/test-classfiles -R - name: Change wrapper permissions run: chmod +x ./gradlew - name: Build with Gradle uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0 with: arguments: build - name: Publish Test Results uses: EnricoMi/publish-unit-test-result-action@v2 if: always() with: files: | build/test-results/test/TEST-*.xml ``` ### Relevant log output ```sh time="2023-11-01T17:10:12+01:00" level=debug msg="Loading environment from C:\\Git\\compiler\\.env" time="2023-11-01T17:10:12+01:00" level=debug msg="Loading action inputs from C:\\Git\\compiler\\.input" time="2023-11-01T17:10:12+01:00" level=debug msg="Loading secrets from C:\\Git\\compiler\\.secrets" time="2023-11-01T17:10:12+01:00" level=debug msg="Loading vars from C:\\Git\\compiler\\.vars" time="2023-11-01T17:10:12+01:00" level=debug msg="Conditional GET for notices etag=4516f189-72d2-4e0d-aad8-45e63f4270d6" time="2023-11-01T17:10:12+01:00" level=debug msg="Evaluated matrix inclusions: map[]" time="2023-11-01T17:10:12+01:00" level=debug msg="Loading workflows from 'C:\\Git\\compiler\\.github\\workflows'" time="2023-11-01T17:10:12+01:00" level=debug msg="Loading workflows recursively" time="2023-11-01T17:10:12+01:00" level=debug msg="Found workflow 'gradle.yml' in 'C:\\Git\\compiler\\.github\\workflows\\gradle.yml'" time="2023-11-01T17:10:12+01:00" level=debug msg="Reading workflow 'C:\\Git\\compiler\\.github\\workflows\\gradle.yml'" time="2023-11-01T17:10:12+01:00" level=debug msg="Preparing plan with all jobs" time="2023-11-01T17:10:12+01:00" level=debug msg="Using default workflow event: push" time="2023-11-01T17:10:12+01:00" level=debug msg="Planning jobs for event: push" time="2023-11-01T17:10:12+01:00" level=debug msg="gc: 2023-11-01 17:10:12.1455533 +0100 CET m=+0.039342801" module=artifactcache time="2023-11-01T17:10:12+01:00" level=debug msg="Plan Stages: [0xc0003a23d8]" time="2023-11-01T17:10:12+01:00" level=debug msg="Stages Runs: [build-and-test-with-gradle]" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Name: build-and-test-with-gradle" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.RawNeeds: {0 0 <nil> [] 0 0}" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.RawRunsOn: {8 0 !!str ubuntu-latest <nil> [] 24 14}" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Env: {0 0 <nil> [] 0 0}" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.If: {0 0 success() <nil> [] 0 0}" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Steps: actions/checkout@v3" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Steps: Set up JDK 8 and JDK with min version for ANTLR" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Steps: java 8 compile everything in 'src/test/java' to 'build/test-classfiles'" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Steps: Change wrapper permissions" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Steps: Build with Gradle" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Steps: Publish Test Results" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.TimeoutMinutes: " time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Services: map[]" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Strategy: <nil>" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.RawContainer: {0 0 <nil> [] 0 0}" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Defaults.Run.Shell: " time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Defaults.Run.WorkingDirectory: " time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Outputs: map[]" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Uses: " time="2023-11-01T17:10:12+01:00" level=debug msg="Job.With: map[]" time="2023-11-01T17:10:12+01:00" level=debug msg="Job.Result: " time="2023-11-01T17:10:12+01:00" level=debug msg="Empty Strategy, matrixes=[map[]]" time="2023-11-01T17:10:12+01:00" level=debug msg="Job Matrices: [map[]]" time="2023-11-01T17:10:12+01:00" level=debug msg="Runner Matrices: map[]" time="2023-11-01T17:10:12+01:00" level=debug msg="Final matrix after applying user inclusions '[map[]]'" time="2023-11-01T17:10:12+01:00" level=debug msg="Loading revision from git directory" time="2023-11-01T17:10:12+01:00" level=debug msg="Found revision: 337362e1af0d251703c97494ffa1b9bd71b17304" time="2023-11-01T17:10:12+01:00" level=debug msg="HEAD points to '337362e1af0d251703c97494ffa1b9bd71b17304'" time="2023-11-01T17:10:12+01:00" level=debug msg="using github ref: refs/heads/build_and_test_on_local_and_github" time="2023-11-01T17:10:12+01:00" level=debug msg="Found revision: 337362e1af0d251703c97494ffa1b9bd71b17304" time="2023-11-01T17:10:12+01:00" level=debug msg="Detected CPUs: 8" [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] evaluating expression 'success()' [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] expression 'success()' evaluated to 'true' [Java CI with Gradle/build-and-test-with-gradle] 🚀 Start image=catthehacker/ubuntu:act-latest time="2023-11-01T17:10:12+01:00" level=info msg="Parallel tasks (0) below minimum, setting to 1" [Java CI with Gradle/build-and-test-with-gradle] 🐳 docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] 🐳 docker pull catthehacker/ubuntu:act-latest [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:act-latest' () time="2023-11-01T17:10:13+01:00" level=debug msg="Saving notices etag=4516f189-72d2-4e0d-aad8-45e63f4270d6" time="2023-11-01T17:10:13+01:00" level=debug msg="No new notices" [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Pulling from catthehacker/ubuntu :: act-latest [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Digest: sha256:88030ffb426831aab0022f7beda465251e00c45d8746069349101c6902d94e4b :: [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Status: Image is up to date for catthehacker/ubuntu:act-latest :: [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Removed container: 652a6845bb0e1398327526fc8eb7ccda2bd3b1b524af2ad3bb3c334489896676 [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] 🐳 docker volume rm act-Java-CI-with-Gradle-build-and-test-with-gradle-ce7c01884ee4591db19584be89f26333ae41ccfff0b5f85430a32846d955a885 [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] 🐳 docker volume rm act-Java-CI-with-Gradle-build-and-test-with-gradle-ce7c01884ee4591db19584be89f26333ae41ccfff0b5f85430a32846d955a885-env time="2023-11-01T17:10:13+01:00" level=info msg="Parallel tasks (0) below minimum, setting to 1" [Java CI with Gradle/build-and-test-with-gradle] 🐳 docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:true OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:catthehacker/ubuntu:act-latest Volumes:map[] WorkingDir:/mnt/c/Git/compiler Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] Annotations:map[] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:<nil> Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-toolcache Target:/toolcache ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-Java-CI-with-Gradle-build-and-test-with-gradle-ce7c01884ee4591db19584be89f26333ae41ccfff0b5f85430a32846d955a885-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-Java-CI-with-Gradle-build-and-test-with-gradle-ce7c01884ee4591db19584be89f26333ae41ccfff0b5f85430a32846d955a885 Target:/mnt/c/Git/compiler ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>} [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] input.NetworkAliases ==> [build-and-test-with-gradle] [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Created container name=act-Java-CI-with-Gradle-build-and-test-with-gradle-ce7c01884ee4591db19584be89f26333ae41ccfff0b5f85430a32846d955a885 id=caacdabf5b22e1af77100cd8d2f514c0b1692aabe728d3a008e079916a70e985 from image catthehacker/ubuntu:act-latest (platform: ) [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] [Java CI with Gradle/build-and-test-with-gradle] 🐳 docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" [Java CI with Gradle/build-and-test-with-gradle] [DEBUG] Starting container: caacdabf5b22e1af77100cd8d2f514c0b1692aabe728d3a008e079916a70e985 Error: failed to start container: Error response from daemon: network-scoped alias is supported only for containers in user defined networks ``` ### Additional information _No response_
kerem 2026-03-01 21:48:00 +03:00
Author
Owner

@andrey-helldar commented on GitHub (Nov 2, 2023):

I've run into this problem as well.

  • Act Version: 0.2.53
  • OS: Windows 11 Pro

Workflow file: .github/workflows/code-style-dev.yml

act -W '.github/workflows/code-style-dev.yml'

Output:

[Code Style Development/style_dev] 🚀  Start image=catthehacker/ubuntu:act-latest
time="2023-11-02T12:56:55+03:00" level=info msg="Parallel tasks (0) below minimum, setting to 1"
[Code Style Development/style_dev]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true
[Code Style Development/style_dev] using DockerAuthConfig authentication for docker pull
time="2023-11-02T12:56:57+03:00" level=info msg="Parallel tasks (0) below minimum, setting to 1"
[Code Style Development/style_dev]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Code Style Development/style_dev]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
Error: failed to start container: Error response from daemon: network-scoped alias is supported only for containers in user defined networks
<!-- gh-comment-id:1790412550 --> @andrey-helldar commented on GitHub (Nov 2, 2023): I've run into this problem as well. - Act Version: 0.2.53 - OS: Windows 11 Pro Workflow file: [.github/workflows/code-style-dev.yml](https://github.com/TheDragonCode/codestyler/blob/3.x/.github/workflows/code-style-dev.yml) ```bash act -W '.github/workflows/code-style-dev.yml' ``` Output: ``` [Code Style Development/style_dev] 🚀 Start image=catthehacker/ubuntu:act-latest time="2023-11-02T12:56:55+03:00" level=info msg="Parallel tasks (0) below minimum, setting to 1" [Code Style Development/style_dev] 🐳 docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true [Code Style Development/style_dev] using DockerAuthConfig authentication for docker pull time="2023-11-02T12:56:57+03:00" level=info msg="Parallel tasks (0) below minimum, setting to 1" [Code Style Development/style_dev] 🐳 docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" [Code Style Development/style_dev] 🐳 docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" Error: failed to start container: Error response from daemon: network-scoped alias is supported only for containers in user defined networks ```
Author
Owner

@advanceboy commented on GitHub (Nov 2, 2023):

This problem occurs in v0.2.53, but it no longer occurs after downgrading to v0.2.51.

<!-- gh-comment-id:1790965230 --> @advanceboy commented on GitHub (Nov 2, 2023): This problem occurs in v0.2.53, but it no longer occurs after downgrading to v0.2.51.
Author
Owner

@ChristopherHX commented on GitHub (Nov 2, 2023):

I can confirm this bug, I'm working on a fix...

<!-- gh-comment-id:1791105231 --> @ChristopherHX commented on GitHub (Nov 2, 2023): I can confirm this bug, I'm working on a fix...
Author
Owner

@ChristopherHX commented on GitHub (Nov 2, 2023):

go\pkg\mod\github.com\docker\docker@v24.0.7+incompatible\api\types\container\hostconfig_unix.go

// IsUserDefined indicates user-created network
func (n NetworkMode) IsUserDefined() bool {
	return !n.IsDefault() && !n.IsBridge() && !n.IsHost() && !n.IsNone() && !n.IsContainer()
}

go\pkg\mod\github.com\docker\docker@v24.0.7+incompatible\api\types\container\hostconfig_windows.go

// IsUserDefined indicates user-created network
func (n NetworkMode) IsUserDefined() bool {
	return !n.IsDefault() && !n.IsNone() && !n.IsBridge() && !n.IsContainer()
}

Why did docker this?

Seems like I have to replace the convenience function with it's unix definition

<!-- gh-comment-id:1791112178 --> @ChristopherHX commented on GitHub (Nov 2, 2023): go\pkg\mod\github.com\docker\docker@v24.0.7+incompatible\api\types\container\hostconfig_unix.go ``` // IsUserDefined indicates user-created network func (n NetworkMode) IsUserDefined() bool { return !n.IsDefault() && !n.IsBridge() && !n.IsHost() && !n.IsNone() && !n.IsContainer() } ``` go\pkg\mod\github.com\docker\docker@v24.0.7+incompatible\api\types\container\hostconfig_windows.go ``` // IsUserDefined indicates user-created network func (n NetworkMode) IsUserDefined() bool { return !n.IsDefault() && !n.IsNone() && !n.IsBridge() && !n.IsContainer() } ``` Why did docker this? Seems like I have to replace the convenience function with it's unix definition
Author
Owner

@zsz20olesnica commented on GitHub (Nov 2, 2023):

We've also run into this problem. Fixed temporary by downgrading act to v0.2.51.

<!-- gh-comment-id:1791583669 --> @zsz20olesnica commented on GitHub (Nov 2, 2023): We've also run into this problem. Fixed temporary by downgrading act to v0.2.51.
Author
Owner

@arashi-dev commented on GitHub (Nov 6, 2023):

I'm experiencing the same issue. I can provide any information if you need

<!-- gh-comment-id:1796047630 --> @arashi-dev commented on GitHub (Nov 6, 2023): I'm experiencing the same issue. I can provide any information if you need
Author
Owner

@ChristopherHX commented on GitHub (Nov 6, 2023):

The patch is finished from my side, but I'm not in the position to be allowed to merge.

I can provide any information if you need

I would only need 2 reviewer from maintainers (while I'm one of them, my PR's need a total amount of 3 maintainers, if you would open a PR with the same change I could approve it so only one maintainer review is missing), but that's a bottle neg. (One reason why my commit rate for this repository is declining and I'm less motivated to review other PR's)

Please comment and test my linked PR https://github.com/nektos/act/pull/2075, this could increase the chance another maintainer have a look at the change.

<!-- gh-comment-id:1796424132 --> @ChristopherHX commented on GitHub (Nov 6, 2023): The patch is finished from my side, but I'm not in the position to be allowed to merge. > I can provide any information if you need I would only need 2 reviewer from maintainers (while I'm one of them, my PR's need a total amount of 3 maintainers, if you would open a PR with the same change I could approve it so only one maintainer review is missing), but that's a bottle neg. _(One reason why my commit rate for this repository is declining and I'm less motivated to review other PR's)_ Please comment and test my linked PR https://github.com/nektos/act/pull/2075, this could increase the chance another maintainer have a look at the change.
Author
Owner

@melMass commented on GitHub (Nov 9, 2023):

If you use gh, in the meantime:

gh extension install https://github.com/nektos/gh-act --pin v0.2.51
<!-- gh-comment-id:1804463495 --> @melMass commented on GitHub (Nov 9, 2023): If you use gh, in the meantime: ```sh gh extension install https://github.com/nektos/gh-act --pin v0.2.51 ```
Author
Owner

@mssanjay commented on GitHub (Nov 10, 2023):

I faced this problem today after the upgrade. Downgraded to 0.2.51 and it worked :)

<!-- gh-comment-id:1806032886 --> @mssanjay commented on GitHub (Nov 10, 2023): I faced this problem today after the upgrade. Downgraded to 0.2.51 and it worked :)
Author
Owner

@ChristopherHX commented on GitHub (Nov 12, 2023):

Due to the mass of PR's merged today, I prefer to do manual regression testing before creating a hotfix release.

If there is no release till wednesday, please ping me.

<!-- gh-comment-id:1807218784 --> @ChristopherHX commented on GitHub (Nov 12, 2023): Due to the mass of PR's merged today, I prefer to do manual regression testing before creating a hotfix release. If there is no release till wednesday, please ping me.
Author
Owner

@ChristopherHX commented on GitHub (Nov 14, 2023):

Please update to v0.2.54

<!-- gh-comment-id:1810073066 --> @ChristopherHX commented on GitHub (Nov 14, 2023): Please update to v0.2.54 - GitHub Release is available https://github.com/nektos/act/releases/tag/v0.2.54 - winget users need to wait for https://github.com/microsoft/winget-pkgs/pull/126522 - all other manually updated packages from package managers can take a while
Author
Owner

@andrey-helldar commented on GitHub (Nov 14, 2023):

@ChristopherHX, thank you!

Chocolatey has not found an update yet. I'll check back later.

<!-- gh-comment-id:1810465335 --> @andrey-helldar commented on GitHub (Nov 14, 2023): @ChristopherHX, thank you! Chocolatey has [not found](https://community.chocolatey.org/packages/act-cli) an update yet. I'll check back later.
Author
Owner

@kalebvonburris commented on GitHub (Nov 14, 2023):

I've updated to 0.2.54 and am still experiencing the problem.

<!-- gh-comment-id:1811379985 --> @kalebvonburris commented on GitHub (Nov 14, 2023): I've updated to 0.2.54 and am still experiencing the problem.
Author
Owner

@ChristopherHX commented on GitHub (Nov 14, 2023):

Whops

// IsHost indicates whether container uses the host network stack.
// returns false as this is not supported by windows
func (n NetworkMode) IsHost() bool {
	return false
}
<!-- gh-comment-id:1811449838 --> @ChristopherHX commented on GitHub (Nov 14, 2023): Whops ``` // IsHost indicates whether container uses the host network stack. // returns false as this is not supported by windows func (n NetworkMode) IsHost() bool { return false } ```
Author
Owner

@jozefizso commented on GitHub (Nov 18, 2023):

Running on Microsoft Windows [Version 10.0.22631.2715]:

❯ act --version
act version 0.2.54
❯ act --pull=false
[CI/build] 🚀  Start image=node:16-buster-slim
time="2023-11-18T12:32:52+01:00" level=info msg="Parallel tasks (0) below minimum, setting to 1"
[CI/build]   🐳  docker pull image=node:16-buster-slim platform= username= forcePull=false
time="2023-11-18T12:32:52+01:00" level=info msg="Parallel tasks (0) below minimum, setting to 1"
[CI/build]   🐳  docker create image=node:16-buster-slim platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[CI/build]   🐳  docker run image=node:16-buster-slim platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
Error: failed to start container: Error response from daemon: network-scoped alias is supported only for containers in user defined networks
<!-- gh-comment-id:1817484249 --> @jozefizso commented on GitHub (Nov 18, 2023): Running on `Microsoft Windows [Version 10.0.22631.2715]`: ``` ❯ act --version act version 0.2.54 ❯ act --pull=false [CI/build] 🚀 Start image=node:16-buster-slim time="2023-11-18T12:32:52+01:00" level=info msg="Parallel tasks (0) below minimum, setting to 1" [CI/build] 🐳 docker pull image=node:16-buster-slim platform= username= forcePull=false time="2023-11-18T12:32:52+01:00" level=info msg="Parallel tasks (0) below minimum, setting to 1" [CI/build] 🐳 docker create image=node:16-buster-slim platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" [CI/build] 🐳 docker run image=node:16-buster-slim platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" Error: failed to start container: Error response from daemon: network-scoped alias is supported only for containers in user defined networks ```
Author
Owner

@Parampreet1403 commented on GitHub (Nov 20, 2023):

Still broken for me as above.
For anyone who wants to downgrade and is using windows do this:

Install scoop on Power Shell (Windows package manager)
https://scoop.sh/

Run on cmd:
scoop install act@0.2.51

<!-- gh-comment-id:1818721328 --> @Parampreet1403 commented on GitHub (Nov 20, 2023): Still broken for me as above. For anyone who wants to downgrade and is using windows do this: Install scoop on Power Shell (Windows package manager) [https://scoop.sh/](https://scoop.sh/) Run on cmd: `scoop install act@0.2.51`
Author
Owner

@Waterstraal commented on GitHub (Nov 20, 2023):

I just installed act and I am getting above error.

Installed act with winget: winget install nektos.act
Then ran act and selected the Medium size image and got this error:

PS C:\my-repo> act
? Please choose the default image you want to use with act:
  - Large size image: ca. 17GB download + 53.1GB storage, you will need 75GB of free disk space, snapshots of GitHub Hosted Runners without snap and pulled docker images
  - Medium size image: ~500MB, includes only necessary tools to bootstrap actions and aims to be compatible with most actions
  - Micro size image: <200MB, contains only NodeJS required to bootstrap actions, doesn't work with all actions

Default image and other options can be changed manually in ~/.actrc (please refer to https://github.com/nektos/act#configuration for additional information about file structure) Medium
[Release/release] 🚀  Start image=catthehacker/ubuntu:act-latest
time="2023-11-20T14:31:10+01:00" level=info msg="Parallel tasks (0) below minimum, setting to 1"
[Release/release]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true
time="2023-11-20T14:31:56+01:00" level=info msg="Parallel tasks (0) below minimum, setting to 1"
[Release/release]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Release/release]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
Error: failed to start container: Error response from daemon: network-scoped alias is supported only for containers in user defined networks

Versions:

act version 0.2.54
Windows 11 Version 22H2 (OS Build 22621.2715)
<!-- gh-comment-id:1819080762 --> @Waterstraal commented on GitHub (Nov 20, 2023): I just installed act and I am getting above error. Installed act with winget: `winget install nektos.act` Then ran `act` and selected the Medium size image and got this error: ``` PS C:\my-repo> act ? Please choose the default image you want to use with act: - Large size image: ca. 17GB download + 53.1GB storage, you will need 75GB of free disk space, snapshots of GitHub Hosted Runners without snap and pulled docker images - Medium size image: ~500MB, includes only necessary tools to bootstrap actions and aims to be compatible with most actions - Micro size image: <200MB, contains only NodeJS required to bootstrap actions, doesn't work with all actions Default image and other options can be changed manually in ~/.actrc (please refer to https://github.com/nektos/act#configuration for additional information about file structure) Medium [Release/release] 🚀 Start image=catthehacker/ubuntu:act-latest time="2023-11-20T14:31:10+01:00" level=info msg="Parallel tasks (0) below minimum, setting to 1" [Release/release] 🐳 docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true time="2023-11-20T14:31:56+01:00" level=info msg="Parallel tasks (0) below minimum, setting to 1" [Release/release] 🐳 docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" [Release/release] 🐳 docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" Error: failed to start container: Error response from daemon: network-scoped alias is supported only for containers in user defined networks ``` Versions: ``` act version 0.2.54 Windows 11 Version 22H2 (OS Build 22621.2715) ```
Author
Owner

@ChristopherHX commented on GitHub (Nov 21, 2023):

It's a real problem not having CI for windows compatibility.

Can you cross test https://github.com/nektos/act/pull/2093?, the last time I got comments like works but it didn't work

Any ideas how to properly test for windows linux container compatibility on GitHub Actions?

I could think of using a tmate ssh tunnel from ubuntu-latest to windows-latest. So can also macOS start testing again using an ubuntu-latest to provide docker..

<!-- gh-comment-id:1821636135 --> @ChristopherHX commented on GitHub (Nov 21, 2023): It's a real problem not having CI for windows compatibility. _Can you cross test https://github.com/nektos/act/pull/2093?, the last time I got comments like works but it didn't work_ Any ideas how to properly test for windows linux container compatibility on GitHub Actions? I could think of using a tmate ssh tunnel from ubuntu-latest to windows-latest. So can also macOS start testing again using an ubuntu-latest to provide docker..
Author
Owner

@LennardF1989 commented on GitHub (Nov 21, 2023):

Can confirm this indeed still happens on Windows 11 with latest Winget version. Rolling back to 0.2.52 does the trick, still.

<!-- gh-comment-id:1821795406 --> @LennardF1989 commented on GitHub (Nov 21, 2023): Can confirm this indeed still happens on Windows 11 with latest Winget version. Rolling back to 0.2.52 does the trick, still.
Author
Owner

@BenjaminMichaelis commented on GitHub (Nov 22, 2023):

0.2.54 did not work for me (Windows 11). But 0.2.52 worked great!

<!-- gh-comment-id:1822251220 --> @BenjaminMichaelis commented on GitHub (Nov 22, 2023): 0.2.54 did not work for me (Windows 11). But 0.2.52 worked great!
Author
Owner

@bitjerry commented on GitHub (Nov 22, 2023):

Same error in windows. the docker is installed in ubuntu

time="2023-11-22T19:50:01+08:00" level=warning msg="unable to get git repo: remote not found"
[Build/Build] 🚀  Start image=catthehacker/ubuntu:act-22.04
time="2023-11-22T19:50:01+08:00" level=info msg="Parallel tasks (0) below minimum, setting to 1"
[Build/Build]   🐳  docker pull image=catthehacker/ubuntu:act-22.04 platform= username= forcePull=true
time="2023-11-22T19:50:04+08:00" level=info msg="Parallel tasks (0) below minimum, setting to 1"
[Build/Build]   🐳  docker create image=catthehacker/ubuntu:act-22.04 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Build/Build]   🐳  docker run image=catthehacker/ubuntu:act-22.04 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
Error: failed to start container: Error response from daemon: network-scoped alias is supported only for containers in user defined networks
<!-- gh-comment-id:1822696585 --> @bitjerry commented on GitHub (Nov 22, 2023): Same error in windows. the docker is installed in ubuntu ``` time="2023-11-22T19:50:01+08:00" level=warning msg="unable to get git repo: remote not found" [Build/Build] 🚀 Start image=catthehacker/ubuntu:act-22.04 time="2023-11-22T19:50:01+08:00" level=info msg="Parallel tasks (0) below minimum, setting to 1" [Build/Build] 🐳 docker pull image=catthehacker/ubuntu:act-22.04 platform= username= forcePull=true time="2023-11-22T19:50:04+08:00" level=info msg="Parallel tasks (0) below minimum, setting to 1" [Build/Build] 🐳 docker create image=catthehacker/ubuntu:act-22.04 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" [Build/Build] 🐳 docker run image=catthehacker/ubuntu:act-22.04 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" Error: failed to start container: Error response from daemon: network-scoped alias is supported only for containers in user defined networks ```
Author
Owner

@ChristopherHX commented on GitHub (Nov 22, 2023):

Do you still get the error with: act-windows-x64-pr-2093.zip? (pr https://github.com/nektos/act/pull/2093)

<!-- gh-comment-id:1822700832 --> @ChristopherHX commented on GitHub (Nov 22, 2023): Do you still get the error with: [act-windows-x64-pr-2093.zip](https://github.com/nektos/act/suites/18350403689/artifacts/1062105761)? (pr https://github.com/nektos/act/pull/2093)
Author
Owner

@bitjerry commented on GitHub (Nov 22, 2023):

Do you still get the error with: act-windows-x64-pr-2093.zip? (pr #2093)

Yes, it work for me.

<!-- gh-comment-id:1822716567 --> @bitjerry commented on GitHub (Nov 22, 2023): > Do you still get the error with: [act-windows-x64-pr-2093.zip](https://github.com/nektos/act/suites/18350403689/artifacts/1062105761)? (pr #2093) Yes, it work for me.
Author
Owner

@ThreeSevenths commented on GitHub (Nov 24, 2023):

Do you still get the error with: act-windows-x64-pr-2093.zip? (pr #2093)

I do not get the error with this patched version. Windows 11 22H2 with feature update.

<!-- gh-comment-id:1825819154 --> @ThreeSevenths commented on GitHub (Nov 24, 2023): > Do you still get the error with: [act-windows-x64-pr-2093.zip](https://github.com/nektos/act/suites/18350403689/artifacts/1062105761)? (pr #2093) I do not get the error with this patched version. Windows 11 22H2 with feature update.
Author
Owner

@cilerler commented on GitHub (Nov 24, 2023):

@ChristopherHX it is working for me

<!-- gh-comment-id:1825864730 --> @cilerler commented on GitHub (Nov 24, 2023): @ChristopherHX it is working for me
Author
Owner

@ChristopherHX commented on GitHub (Nov 26, 2023):

Sorry my first attempt to fix this issue ended up beeing untested from my side, before realizing docker stubbed IsHost as false and therefore didn't care about it in IsUserDefined. No reviewer told me about this problem (see https://github.com/nektos/act/pull/2075#issuecomment-1801888348).

It's hard for me to work on nektos/act, most maintainer left and the owner cplee does approve PR unregulary

<!-- gh-comment-id:1826893778 --> @ChristopherHX commented on GitHub (Nov 26, 2023): Sorry my first attempt to fix this issue ended up beeing untested from my side, before realizing docker stubbed IsHost as false and therefore didn't care about it in IsUserDefined. No reviewer told me about this problem (see https://github.com/nektos/act/pull/2075#issuecomment-1801888348). _It's hard for me to work on nektos/act, most maintainer left and the owner cplee does approve PR unregulary_
Author
Owner

@koppor commented on GitHub (Nov 29, 2023):

Works!

Microsoft Windows [Version 10.0.22635.2771]
Docker version 24.0.6, build ed223bc
<!-- gh-comment-id:1831772122 --> @koppor commented on GitHub (Nov 29, 2023): Works! Microsoft Windows [Version 10.0.22635.2771] Docker version 24.0.6, build ed223bc
Author
Owner

@JesseTG commented on GitHub (Dec 6, 2023):

I still get this on 0.2.55.

PS C:\Users\Jesse> act --bug-report
act version:            0.2.55
GOOS:                   windows
GOARCH:                 amd64
NumCPU:                 32
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
        \\.\pipe\docker_engine(broken)
Config files:
        C:\Users\Jesse\.actrc:
                -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
                -P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04
                -P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04
        .actrc:
                -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
                -P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04
                -P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04
Build info:
        Go version:            go1.20.11
        Module path:           github.com/nektos/act
        Main version:          (devel)
        Main path:             github.com/nektos/act
        Main checksum:
        Build settings:
                -buildmode:           exe
                -compiler:            gc
                -ldflags:             -s -w -X main.version=0.2.55 -X main.commit=95ff5bf299a18833b19f157386184539ad6f4e64 -X main.date=2023-12-01T02:17:59Z -X main.builtBy=goreleaser
                CGO_ENABLED:          0
                GOARCH:               amd64
                GOOS:                 windows
                GOAMD64:              v1
                vcs:                  git
                vcs.revision:         95ff5bf299a18833b19f157386184539ad6f4e64
                vcs.time:             2023-12-01T02:17:43Z
                vcs.modified:         false
Docker Engine:
        Engine version:        24.0.6
        Engine runtime:        runc
        Cgroup version:        1
        Cgroup driver:         cgroupfs
        Storage driver:        overlay2
        Registry URI:          https://index.docker.io/v1/
        OS:                    Docker Desktop
        OS type:               linux
        OS version:
        OS arch:               x86_64
        OS kernel:             5.15.133.1-microsoft-standard-WSL2
        OS CPU:                32
        OS memory:             64243 MB
        Security options:
                name=seccomp,profile=unconfined

PS C:\Users\Jesse> 
<!-- gh-comment-id:1843393570 --> @JesseTG commented on GitHub (Dec 6, 2023): I still get this on 0.2.55. ``` PS C:\Users\Jesse> act --bug-report act version: 0.2.55 GOOS: windows GOARCH: amd64 NumCPU: 32 Docker host: DOCKER_HOST environment variable is not set Sockets found: \\.\pipe\docker_engine(broken) Config files: C:\Users\Jesse\.actrc: -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest -P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04 -P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04 .actrc: -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest -P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04 -P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04 Build info: Go version: go1.20.11 Module path: github.com/nektos/act Main version: (devel) Main path: github.com/nektos/act Main checksum: Build settings: -buildmode: exe -compiler: gc -ldflags: -s -w -X main.version=0.2.55 -X main.commit=95ff5bf299a18833b19f157386184539ad6f4e64 -X main.date=2023-12-01T02:17:59Z -X main.builtBy=goreleaser CGO_ENABLED: 0 GOARCH: amd64 GOOS: windows GOAMD64: v1 vcs: git vcs.revision: 95ff5bf299a18833b19f157386184539ad6f4e64 vcs.time: 2023-12-01T02:17:43Z vcs.modified: false Docker Engine: Engine version: 24.0.6 Engine runtime: runc Cgroup version: 1 Cgroup driver: cgroupfs Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Docker Desktop OS type: linux OS version: OS arch: x86_64 OS kernel: 5.15.133.1-microsoft-standard-WSL2 OS CPU: 32 OS memory: 64243 MB Security options: name=seccomp,profile=unconfined PS C:\Users\Jesse> ```
Author
Owner

@chemelli74 commented on GitHub (Dec 16, 2023):

Unfortunately I can confirm is still broken, even on latest docker:

PS C:\Users\xxx\GitHub\fitbit-web-api> act --bug-report
act version:            0.2.55
GOOS:                   windows
GOARCH:                 amd64
NumCPU:                 12
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
        \\.\pipe\docker_engine(broken)
Config files:
        C:\Users\xxx\.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.11
        Module path:           github.com/nektos/act
        Main version:          (devel)
        Main path:             github.com/nektos/act
        Main checksum:
        Build settings:
                -buildmode:           exe
                -compiler:            gc
                -ldflags:             -s -w -X main.version=0.2.55 -X main.commit=95ff5bf299a18833b19f157386184539ad6f4e64 -X main.date=2023-12-01T02:17:59Z -X main.builtBy=goreleaser
                CGO_ENABLED:          0
                GOARCH:               amd64
                GOOS:                 windows
                GOAMD64:              v1
                vcs:                  git
                vcs.revision:         95ff5bf299a18833b19f157386184539ad6f4e64
                vcs.time:             2023-12-01T02:17:43Z
                vcs.modified:         false
Docker Engine:
        Engine version:        24.0.7
        Engine runtime:        runc
        Cgroup version:        1
        Cgroup driver:         cgroupfs
        Storage driver:        overlay2
        Registry URI:          https://index.docker.io/v1/
        OS:                    Docker Desktop
        OS type:               linux
        OS version:
        OS arch:               x86_64
        OS kernel:             5.15.133.1-microsoft-standard-WSL2
        OS CPU:                12
        OS memory:             7857 MB
        Security options:
                name=seccomp,profile=unconfined
<!-- gh-comment-id:1858814529 --> @chemelli74 commented on GitHub (Dec 16, 2023): Unfortunately I can confirm is still broken, even on latest docker: ``` PS C:\Users\xxx\GitHub\fitbit-web-api> act --bug-report act version: 0.2.55 GOOS: windows GOARCH: amd64 NumCPU: 12 Docker host: DOCKER_HOST environment variable is not set Sockets found: \\.\pipe\docker_engine(broken) Config files: C:\Users\xxx\.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.11 Module path: github.com/nektos/act Main version: (devel) Main path: github.com/nektos/act Main checksum: Build settings: -buildmode: exe -compiler: gc -ldflags: -s -w -X main.version=0.2.55 -X main.commit=95ff5bf299a18833b19f157386184539ad6f4e64 -X main.date=2023-12-01T02:17:59Z -X main.builtBy=goreleaser CGO_ENABLED: 0 GOARCH: amd64 GOOS: windows GOAMD64: v1 vcs: git vcs.revision: 95ff5bf299a18833b19f157386184539ad6f4e64 vcs.time: 2023-12-01T02:17:43Z vcs.modified: false Docker Engine: Engine version: 24.0.7 Engine runtime: runc Cgroup version: 1 Cgroup driver: cgroupfs Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Docker Desktop OS type: linux OS version: OS arch: x86_64 OS kernel: 5.15.133.1-microsoft-standard-WSL2 OS CPU: 12 OS memory: 7857 MB Security options: name=seccomp,profile=unconfined ```
Author
Owner

@ChristopherHX commented on GitHub (Dec 17, 2023):

I can no longer reproduce this issue starting with v0.2.56, waiting for review from maintainer timed out after 1 month.

Available on

<!-- gh-comment-id:1859309952 --> @ChristopherHX commented on GitHub (Dec 17, 2023): I can no longer reproduce this issue starting with [v0.2.56](https://github.com/nektos/act/releases/tag/v0.2.56), waiting for review from maintainer timed out after 1 month. Available on - GitHub https://github.com/nektos/act/releases/tag/v0.2.56 - Chocolatey https://community.chocolatey.org/packages/act-cli/0.2.56 - Scoop https://github.com/ScoopInstaller/Main/blob/05084e19796f5b1a4d8da64ebe0cec6d070374e2/bucket/act.json - winget https://github.com/microsoft/winget-pkgs/pull/130811
Author
Owner

@github-actions[bot] commented on GitHub (Jun 16, 2024):

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

<!-- gh-comment-id:2170983674 --> @github-actions[bot] commented on GitHub (Jun 16, 2024): Issue is stale and will be closed in 14 days unless there is new activity
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#993
No description provided.