OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Change the default value of keep_runtime_alive from True to False

Open tofarr opened this issue 1 year ago • 0 comments

Change the default value of keep_runtime_alive from True to False

End-user friendly description of the problem this fixes or functionality that this introduces

  • [X] Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

This flag effectively stops any runtimes from being recycled by docker. Though some may want to do this, it is almost certainly not the preferred behavior for most use cases


To run this PR locally, use the following command:

docker run -it --rm   -p 3000:3000   -v /var/run/docker.sock:/var/run/docker.sock   --add-host host.docker.internal:host-gateway   -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:68e1676-nikolaik   --name openhands-app-68e1676   docker.all-hands.dev/all-hands-ai/openhands:68e1676

tofarr avatar Nov 26 '24 18:11 tofarr