Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Podman provider #298

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions src/mrack/data/provisioning-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ podman:
# this will be used as prefix for the network name
default_network: mrack

network_options:
- "--ipv6"

# advanced podman options to be passed to every execution of podman run eg:
# NOTE: when 'key' in podman_options has list assigned as value
# the option specidfied by the 'key' is added multiple times
Expand All @@ -21,17 +24,7 @@ podman:
"--cap-add":
- "ALL"
# Allowed syscall list seccomp JSON file to be used as a seccomp filter
"--security-opt": "seccomp=src/mrack/data/seccomp.json"
# Mount a temporary filesystems (tmpfs) into a container
"--tmpfs":
- "/tmp"
- "/run"
- "/run/lock"
# Use /sys/fs/cgroup in container as read only volume
"-v":
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
# Adding ipv6 support to network
"--network": "enable_ipv6=true"
Comment on lines -24 to -34
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is just a means for documentation and serves as an example. It doesn't affect execution. I would probably only remove the last line

"--security-opt": "seccomp=/etc/mrack/seccomp.json"

virt:
images:
Expand Down