Skip to content

Run root isn't used for some directories #26606

Description

@scanon

Feature request description

Even when specifying run root, some directories and files will still be created in XDG_RUNTIME_DIR. This makes it difficult to fully isolate podman instances. We are seeing issues with this when we run jobs in a batch system that does cleanup when a job ends. I'm not 100% but I think it is the some of the libpod state that is the main issue.

Suggest potential solution

It would be helpful if one could specify some additional flags and/or container.conf settings to force everything to use the run root location.

Have you considered any alternatives?

I have a workaround that creates symlinks in /run/user// for the various directories to isolate things, but it is a bit hacky.

Additional context

While this occurs in a batch computing environments, there may be other cases where this isolation would be useful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.stale-issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions