Skip to content

Commit

Permalink
Update docker run command in GitHub workflow
Browse files Browse the repository at this point in the history
The older docker run command in the GitHub workflow for testing firewalld has been updated to remove unnecessary flags and add some configuration options. Notably, the `--init` and `-v /sys/fs/cgroup:/
  • Loading branch information
dvershinin committed Jul 11, 2024
1 parent dfe8682 commit c9914e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-firewalld.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Run tests
run: |
# Run the container with systemd initialization
docker run --init --privileged --name firewalld-container -d -v /sys/fs/cgroup:/sys/fs/cgroup:ro my-firewalld-image /usr/sbin/init
docker run -d --privileged -h test --privileged=true --name firewalld-container my-firewalld-image /usr/sbin/init
# Wait for the container to be fully initialized
sleep 10
Expand Down

0 comments on commit c9914e1

Please sign in to comment.