Skip to content

Mounting non-existent guest path silently exits #32

@comunidadio

Description

@comunidadio

Description

Steps to Reproduce

➜  matchlocktesting matchlock run --image alpine:latest --rm -v `pwd`:/workspace/not_exist_folder -it sh
➜  matchlocktesting echo $?
1

If the guest folder exists, no issue.

Expected Behaviour

An error message at least, or even better, auto-create the guest mount point.

Actual Behaviour

Match lock just exits silently (with exit code though but wasn't immediately obvious).

Environment

  • OS: macOS 15.7.3
  • Architecture: arm64
  • Matchlock version: 0.1.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions