Skip to content

Documentation unclear regarding Podman configuration files on Windows #29233

Description

@hansmbakker

This issue was posted before (#17644); however it was closed without a solution.

The suggestion to look in the man pages did not solve the issue because it is not documented there.
See https://github.com/podman-container-tools/container-libs/blob/main/common/docs/containers.conf.5.md

The question is still: how to properly configure podman using a configuration file on Windows?

I added the configuration file below to %APPDATA%\Roaming\containers\containers.conf.d and it does not seem to be picked up.

1-userns-keep-id.conf

[containers]
userns = "keep-id"

I wanted to add this setting as a configuration file instead of as runArgs setting in my devcontainer.json files to prevent breaking their compatibility with docker.

Metadata

Metadata

Labels

documentationIssue or fix is in project documentationmachinewindowsissue/bug on Windows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions