forgejo-runner-act/cmd
Hibariya 8de7b956b7
Add --userns flag to support Docker daemon that enables user namespace (#533)
I got an error like this after hitting `act` command.

> Error: Error response from daemon: cannot share the host's network namespace when user namespaces are enabled

According to the document, when user namespaces are enabled on the Docker daemon,
neither host network mode and --privileged work without --userns=host. Since `act`
uses host network mode to match GitHub Actions runners, it cannot run jobs when
user namespaces are enabled. So I added the flag.

https://docs.docker.com/engine/security/userns-remap/#user-namespace-known-limitations

Co-authored-by: Casey Lee <cplee@nektos.com>
2021-02-27 08:31:25 -08:00
..
graph.go successfully able to run simple workflows 2020-02-20 21:05:25 -05:00
input.go Add --userns flag to support Docker daemon that enables user namespace (#533) 2021-02-27 08:31:25 -08:00
list.go Simpler list view (#382) 2020-10-12 10:26:22 -07:00
platforms.go Update Docker images (#524) 2021-02-23 09:49:24 -08:00
root.go Add --userns flag to support Docker daemon that enables user namespace (#533) 2021-02-27 08:31:25 -08:00
secrets.go Make all secrets case insensitive by formatting them to uppercase (#470) 2021-01-12 09:54:53 -08:00