Skip to content

Commit 53de754

Browse files
committed
Support http+unix protocol
1 parent d33ba88 commit 53de754

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker/utils/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ def parse_host(addr):
166166
addr = addr.strip()
167167
if addr.startswith('http://'):
168168
addr = addr.replace('http://', 'tcp://')
169+
if addr.startswith('http+unix://'):
170+
addr = addr.replace('http+unix://', 'unix://')
169171

170172
if addr == 'tcp://':
171173
raise errors.DockerException("Invalid bind address format: %s" % addr)

0 commit comments

Comments
 (0)