Skip to content

Podman support #727

Closed
Closed
@Herohtar

Description

@Herohtar

#139 was closed with a comment saying that CLI 1.x now works with podman, but it does not appear to be true. I get the following output when running nhost up:

Setting up Nhost development environment...
Starting Nhost development environment...
Error: unknown flag: --project-directory
See 'podman --help'
failed to start Nhost development environment: failed to start docker compose: exit status 125

As I understand it, podman itself can work with docker-compose, but it appears that the CLI is running the docker compose ... command rather than docker-compose. That means it gets passed to podman via podman-docker, and the compose command is not supported by podman:

$ docker compose
Error: unrecognized command `podman compose`
Try 'podman --help' for more information

Indeed, if I run docker compose --project-directory ... I get the same output as the CLI, which seems to confirm the cause of the error during nhost up:

Error: unknown flag: --project-directory
See 'podman --help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions