podman-desktop/website/docs/compose/running-compose.md
Jeff MAURY 26495fc6f8
chore(deps-dev): switch to prettier 3.6.2 (#12995)
* chore(deps-dev): switch to prettier 3.6.2

Signed-off-by: Jeff MAURY <jmaury@redhat.com>
2025-06-27 15:21:06 +00:00

1.8 KiB

title description sidebar_position keywords tags
Running Compose files With Podman Desktop, you can manage multi-container applications defined in Compose files. 3
compose
compose

With Podman Desktop, you can manage multi-container applications defined in a Compose file.

Prerequisites

Procedure

  • Run the command in a terminal:

    $ podman compose --file compose.yaml up --detach
    

    (Alternatively) With an older Podman version, run docker-compose:

    1. [Set the DOCKER_HOST variable](/docs/migrating-from-docker/using-the-docker_host-environment-variable). 1. Run `docker-compose` rather than `podman compose`:
    $ docker-compose --file compose.yaml up --detach
    

    (Optionally) Learn about Compose commands:

    $ podman compose --help
    

Verification

  1. The Compose engine starts the containers and services, and adds a label to each resource:

    • Container label: com.docker.compose.project
    • Service label: com.docker.compose.service
  2. Podman Desktop detects the Compose labels, and displays the container group as a group of containers.

    The Podman Desktop Containers list displays the containers created by Compose grouped in a container group with a (compose) suffix, such as flask-redis (compose).

img2

Additional resources