mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #2074] network-scoped alias is supported only for containers in user defined networks #993
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#993
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ironeer on GitHub (Nov 1, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/2074
Bug report info
Command used with 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
Relevant log output
Additional information
No response
@andrey-helldar commented on GitHub (Nov 2, 2023):
I've run into this problem as well.
Workflow file: .github/workflows/code-style-dev.yml
Output:
@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.
@ChristopherHX commented on GitHub (Nov 2, 2023):
I can confirm this bug, I'm working on a fix...
@ChristopherHX commented on GitHub (Nov 2, 2023):
go\pkg\mod\github.com\docker\docker@v24.0.7+incompatible\api\types\container\hostconfig_unix.go
go\pkg\mod\github.com\docker\docker@v24.0.7+incompatible\api\types\container\hostconfig_windows.go
Why did docker this?
Seems like I have to replace the convenience function with it's unix definition
@zsz20olesnica commented on GitHub (Nov 2, 2023):
We've also run into this problem. Fixed temporary by downgrading act to v0.2.51.
@arashi-dev commented on GitHub (Nov 6, 2023):
I'm experiencing the same issue. I can provide any information if you need
@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 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.
@melMass commented on GitHub (Nov 9, 2023):
If you use gh, in the meantime:
@mssanjay commented on GitHub (Nov 10, 2023):
I faced this problem today after the upgrade. Downgraded to 0.2.51 and it worked :)
@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.
@ChristopherHX commented on GitHub (Nov 14, 2023):
Please update to v0.2.54
@andrey-helldar commented on GitHub (Nov 14, 2023):
@ChristopherHX, thank you!
Chocolatey has not found an update yet. I'll check back later.
@kalebvonburris commented on GitHub (Nov 14, 2023):
I've updated to 0.2.54 and am still experiencing the problem.
@ChristopherHX commented on GitHub (Nov 14, 2023):
Whops
@jozefizso commented on GitHub (Nov 18, 2023):
Running on
Microsoft Windows [Version 10.0.22631.2715]:@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@Waterstraal commented on GitHub (Nov 20, 2023):
I just installed act and I am getting above error.
Installed act with winget:
winget install nektos.actThen ran
actand selected the Medium size image and got this error:Versions:
@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..
@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.
@BenjaminMichaelis commented on GitHub (Nov 22, 2023):
0.2.54 did not work for me (Windows 11). But 0.2.52 worked great!
@bitjerry commented on GitHub (Nov 22, 2023):
Same error in windows. the docker is installed in ubuntu
@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)
@bitjerry commented on GitHub (Nov 22, 2023):
Yes, it work for me.
@ThreeSevenths commented on GitHub (Nov 24, 2023):
I do not get the error with this patched version. Windows 11 22H2 with feature update.
@cilerler commented on GitHub (Nov 24, 2023):
@ChristopherHX it is working for me
@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
@koppor commented on GitHub (Nov 29, 2023):
Works!
@JesseTG commented on GitHub (Dec 6, 2023):
I still get this on 0.2.55.
@chemelli74 commented on GitHub (Dec 16, 2023):
Unfortunately I can confirm is still broken, even on latest docker:
@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
github.com/ScoopInstaller/Main@05084e1979/bucket/act.json@github-actions[bot] commented on GitHub (Jun 16, 2024):
Issue is stale and will be closed in 14 days unless there is new activity