Skip to content

Orbstack stops listening to the mapped host port while the container is still running #1493

Open

Description

@zhy3213

Describe the bug

while container's still running, after a few connections to the container through the mapped port, orbstack stops listening to the mapped host port, as sudo lsof -i -P -n| grep 34197 returns empty.

IPv4 and v6 listening stops respectively after a few connections through v4 and v6.

after stopping the container, orbstack log shows:

failed to stop docker-proxy for port mapping 0.0.0.0:34197:172.17.0.2:34197/udp: signal: interrupt
failed to stop docker-proxy for port mapping [::]:34197:172.17.0.2:34197/udp: signal: interrupt 

To Reproduce

No response

Expected behavior

No response

Diagnostic report (REQUIRED)

OrbStack info:
Version: 1.7.4
Commit: e03df71b90121e11c379c6273bd0a63166b33957 (v1.7.4)

System info:
macOS: 14.5 (23F79)
CPU: arm64, 8 cores
CPU model: Apple M2
Model: Mac14,3
Memory: 8 GiB

Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-10-03T08-02-30.016320Z.zip

Screenshots and additional context (optional)

No response

Activity

  1. zhy3213 commented on Oct 7, 2024

    @zhy3213
    Author

    Tested with Docker desktop on exact same container and settings, port forwarding is stable.

  2. winterqt commented on Oct 11, 2024

    @winterqt

    Is this always with a specific container/image, or does it happen for all of them? If the former, what image/container settings?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    t/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions