Skip to content

[Bug/Feature]: how to handle podman-compose's capitalization of environment variables? #96

Open

Description

@kengelhardt-godaddy

Use Case

podman-compose capitalizes environment variable values false and true (see containers/podman-compose#1022)

services:
  test:
    container_name: 'test-app'
    build:
      context: ./config
      args:
        test: true
% docker inspect test-app | grep TEST
                "TEST=true"
% podman inspect test-app | grep TEST
                    "TEST=True",

Describe the solution you would like

I would prefer checking for [Tt]rue and [Ff]alse.

Describe alternatives you've considered

There are two solutions:

  1. Quote environment variable values in compose.yaml. This would apply to (e.g.) files in https://github.com/voxpupuli/crafty

  2. Change container-entrypoint scripts to check for [Tt]rue and [Ff]alse. This would/should apply to all OpenVox containers.

Additional context

No response

Activity

  1. rwaffen commented on Nov 27, 2025

    @rwaffen
    Member

    i, personally, would vote for go fully podman. but maybe also ask other people.

    in other news: i also work on using quadlets which depend on podman.
    see voxpupuli/crafty#125 if you might be interested

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

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions