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

Possibly ambiguous config item in containers/container.conf #19

Open
matias-pizarro opened this issue Oct 29, 2024 · 0 comments
Open

Possibly ambiguous config item in containers/container.conf #19

matias-pizarro opened this issue Oct 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@matias-pizarro
Copy link

Not a bug but ambiguous: including a commented value for hooks_dir in containers.conf seems to imply it is the default.
It is however not the case with FreeBSD where, unless hooks_dir is uncommented and explicitly set, the project default is used /usr/share/containers/oci/hooks.d

with

# Path to OCI hooks directories for automatically executed hooks.
#
#hooks_dir = [
#  "/usr/local/share/containers/oci/hooks.d",
#]

podman run --debug (...) results in

DEBU[0000] reading hooks from /usr/share/containers/oci/hooks.d 

Configuration is honoured correctly: with

# Path to OCI hooks directories for automatically executed hooks.
#
hooks_dir = [
  "/usr/local/share/containers/oci/hooks.d",
]

podman run --debug (...) results in

DEBU[0000] reading hooks from /usr/local/share/containers/oci/hooks.d 
@alice-sowerby alice-sowerby added the enhancement New feature or request label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants