Skip to content

podman-compose run ignore --no-deps #717

@khassad

Description

@khassad

Describe the bug
podman-compose run --no-deps fails when the related containers doesn't exist since it generate a full podman run with all the --requires dependencies, which is wrong.

Expected behavior
--no-deps should not generate any --requires in the podman run command

Actual behavior
podman-compose generates a podman run command with a complete --requires= option, which fails.

$ podman-compose version
podman-compose version: 1.0.7
['podman', '--version', '']
using podman version: 4.5.1
podman-compose version 1.0.7
podman --version
podman version 4.5.1
exit code: 0

Environment:

  • OS: Linux
  • podman version: 4.5.1
  • podman compose version: latest devel (1.0.7)

Additional context

Seems to be linked to #398

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions