You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What problem or use case are you trying to solve?
Host network is useful for the sandbox, because the agent can start a server on port 3000, and the user can then load a website on that port. Without host network, it's hard for the user to make an HTTP connection into the sandbox.
What problem or use case are you trying to solve?
Host network is useful for the sandbox, because the agent can start a server on port 3000, and the user can then load a website on that port. Without host network, it's hard for the user to make an HTTP connection into the sandbox.
Use of the host network wasn't possible with Docker Desktop for a long time. Latest versions of Docker Desktop (as of a week or two ago) do allow it though: https://docs.docker.com/network/drivers/host/#:~:text=Host%20networking%20is%20also%20supported,then%20select%20Enable%20host%20networking.
Describe the UX of the solution you'd like
Ideally, we check if host_network works--if so, use it. Otherwise disable and warn.
Do you have thoughts on the technical implementation?
Maybe we can check the version of docker desktop running?
Or even better--try and start a container w/ host network, listening on some port, then try to connect. If it doesn't work, host network is disabled
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: