Skip to content

[Bug]: Trying to start container after stop returns error #468

@afbjorklund

Description

@afbjorklund

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

It works the first time, but not the second.

This is the error output:

Error: internalError: "failed to start container" (cause: "internalError: "failed to start process (cause: "internal error (13): create managed process: Error Domain=NSCocoaErrorDomain Code=259 "The file isn’t in the correct format."")"")

Current behavior

I can't restart stopped container, have to remove and recreate it.

Expected behavior

I was hoping it would start again. Trying to run stop doesn't help.

Environment

- OS: 15.5
- Xcode: 16.4
- Container: 0.3.0

Relevant log output

2025-08-07T11:50:54+0000 debug vminitd : containerID=lima id=lima stderr=Port: 268435457 stdin=Port: 0 stdout=Port: 268435456 [vminitd] createProcess
2025-08-07T11:50:54+0000 error vminitd : containerID=lima error=Error Domain=NSCocoaErrorDomain Code=259 "The file isn’t in the correct format." id=lima [vminitd] createProcess

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions