Skip to content

Please make it possible to expose sandbox ports #126

@DenysGonchar

Description

@DenysGonchar

Tell us about your request

I wish to expose sandbox port in the similar way as it is done for containers.

Which service(s) is this request for?
Docker Desktop

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
I’d like to use the sandbox as a true micro-VM, not only to isolate the agent, but also as a development environment. For example, once the agent finishes its task, I want to run a docker compose-based setup to test the changes.

The sandbox already has everything built and ready, so ideally I should be able to exec into it and start the environment directly and test it. However, I don’t currently have access to it. I also can’t simply run the built artifacts from the Linux container in the macOS terminal - they have to be rebuilt first, which is quite frustrating.

Additionally, it would be great to be able to connect to the agent remotely, for example via a web-based interface such as https://opencode.ai/docs/web/.

Are you currently working around the issue?

Yes, the workaround is describbed here:

Additional context

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions