Skip to content

Commit

Permalink
get network_mode = host back
Browse files Browse the repository at this point in the history
  • Loading branch information
xingyaoww committed Apr 8, 2024
1 parent ec429a0 commit 14388de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions opendevin/sandbox/sandbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ def restart_docker_container(self):
self.container_image,
# allow root login
command="/usr/sbin/sshd -D -p 2222 -o 'PermitRootLogin=yes'",
network_mode='host',
working_dir='/workspace',
name=self.container_name,
hostname='opendevin_sandbox',
Expand Down

0 comments on commit 14388de

Please sign in to comment.