[GH-ISSUE #947] Enhancement: support for container option: --privileged #560

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

Originally created by @hlovdal on GitHub (Jan 1, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/947

Describe feature

(Similar to #808)

Example:

...
  mockTest:
    runs-on: ubuntu-latest
    container:
      image: rockylinux:8
      options: --privileged
    steps:
      - uses: actions/checkout@v2

which generates a warning (and the build fails later).

...
[Build Check/makeTest]   ✅  Success - Test Makefile Targets
WARN[0106] Cannot parse container options: --privileged 
[Build Check/mockTest] 🚀  Start image=rockylinux:8
...

(This was found trying to run act on https://github.com/displaylink-rpm/displaylink-rpm).

Originally created by @hlovdal on GitHub (Jan 1, 2022). Original GitHub issue: https://github.com/nektos/act/issues/947 ## Describe feature (Similar to #808) Example: ```yaml ... mockTest: runs-on: ubuntu-latest container: image: rockylinux:8 options: --privileged steps: - uses: actions/checkout@v2 ``` which generates a warning (and the build fails later). ```shell ... [Build Check/makeTest] ✅ Success - Test Makefile Targets WARN[0106] Cannot parse container options: --privileged [Build Check/mockTest] 🚀 Start image=rockylinux:8 ... ``` (This was found trying to run `act` on https://github.com/displaylink-rpm/displaylink-rpm).
kerem 2026-03-01 21:44:30 +03:00
Author
Owner

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

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

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

@hlovdal commented on GitHub (Feb 17, 2022):

Bump.

<!-- gh-comment-id:1042678343 --> @hlovdal commented on GitHub (Feb 17, 2022): Bump.
Author
Owner

@catthehacker commented on GitHub (Mar 1, 2022):

duplicate #1022

<!-- gh-comment-id:1055293697 --> @catthehacker commented on GitHub (Mar 1, 2022): duplicate #1022
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#560
No description provided.