Skip to content

pve-compose down should shut down the LXC container #4

@PoBruno

Description

@PoBruno

Right now pve-compose down just passes the command through to docker compose down inside the LXC. The compose stack stops, but the container itself keeps running. That makes no sense. If I am bringing down the whole stack, I want the LXC off too.

The expected behavior is simple. Run docker compose down inside the container, then stop the container with pct stop.

current:   pve-compose down  ->  docker compose down  ->  LXC still running
expected:  pve-compose down  ->  docker compose down  ->  pct stop  ->  LXC off

This is the whole point of pve-compose. One command to manage the full lifecycle. Leaving the LXC running after down is just wasting resources for an empty container doing nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions