Skip to content

Restructure the build and run operationsΒ #8

@TheRealBecks

Description

@TheRealBecks

TBD

There are several ways to run Podman pods and containers:

  • Podman build and run commands
    • Already known from Docker
    • Many single commands will lead into resources being bundled into a pod
  • Podman Quadlets
    • That is the new way of doing it as it is intended by the Podman team
    • Compatible with systemd services to make live easier for operators
  • Use podman-compose project
    • External project trying to be docker-compose compatible while proving Podman pod handling
    • Lacks many features already provided by the docker-compose
  • Use docker-compose project

Tools that came along the road:

  • Podlet: Create Quadlets ot of compose.yaml files
    • Sadly this project lacks some features and can't be used with our compose.yaml file directly πŸ™ -> Specifically podlet can't use $-formatted environment variables
    • BUT: Maybe it's working if executing it this way:
podman compose --env-file "../configs/.env" config > podman_compose_config.yaml && kompose convert -f podman_compose_config.yaml && rm podman_compose_config.yaml
podman compose --env-file "../configs/.env" config > podman_compose_config.yaml && kompose convert -f podman_compose_config.yaml && rm podman_compose_config.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions