Skip to content

matchlock run --rm flag not respected #12

@comunidadio

Description

@comunidadio
➜  matchlocktesting matchlock ls
ID  STATUS  IMAGE  CREATED  PID
➜  matchlocktesting matchlock run --image alpine:latest --rm -it sh
Using cached image alpine:latest
/workspace # exit
Warning: cleanup errors: [machine close: close socket pair: close host-net: file already closed]
➜  matchlocktesting matchlock ls
ID           STATUS   IMAGE          CREATED           PID
vm-53273ca6  stopped  alpine:latest  2026-02-09 12:00  -

Unless mistaken, one would expect that vm-53273ca6 should be auto-removed on exit due to --rm flag?

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