set docker_ip_address for Mac OS (fixes
@@ -58,6 +58,10 @@ def ssl_folder(docker_ip_address):
@pytest.fixture(scope='session')
def docker_ip_address(docker):
"""Returns IP address of the docker daemon service."""
+ if sys.platform == 'darwin':
+ # docker for mac publishes ports on localhost
+ return '127.0.0.1'
+ else:
# Fallback docker daemon bridge name
ifname = 'docker0'
try:
