add support of DOCKER_HOST_ADDR#7593
Merged
enyst merged 2 commits intoOpenHands:mainfrom Apr 1, 2025
Merged
Conversation
enyst
reviewed
Mar 31, 2025
enyst
approved these changes
Mar 31, 2025
doew
pushed a commit
to doew/OpenHands
that referenced
this pull request
Apr 2, 2025
shabbir-shakudo
pushed a commit
to devsentient/OpenHands
that referenced
this pull request
Jul 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
End-user friendly description of the problem this fixes or functionality that this introduces.
Give a summary of what the PR does, explaining any non-trivial design decisions.
This pull request includes changes to the
openhands/runtime/impl/docker/docker_runtime.pyfile to enhance the configuration of the Docker runtime by allowing the use of an environment variable for the Docker host address.Configuration enhancements:
osmodule to handle environment variables.__init__method to set thelocal_runtime_urlconfiguration using theDOCKER_HOST_ADDRenvironment variable if it is present.Mainly used for supporting some Docker-in-Docker issue when doing large-scale evaluation. Note that simply using
DOCKER_HOSTenv var cannot enable the routing of runtime correctly.Link of any specific issues this addresses.
#7568