Skip to content

Commit 9474faa

Browse files
committed
add reference link
1 parent c778098 commit 9474faa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testcontainers/core/container.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def __del__(self):
7878
pass
7979

8080
def get_container_host_ip(self) -> str:
81+
# https://github.com/testcontainers/testcontainers-go/blob/dd76d1e39c654433a3d80429690d07abcec04424/docker.go#L644
8182
# if os env TC_HOST is set, use it
8283
if os.environ.get('TC_HOST') is not None:
8384
return os.environ.get('TC_HOST')

0 commit comments

Comments
 (0)