You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
243 B
Python
13 lines
243 B
Python
7 years ago
|
#!/usr/bin/env python
|
||
|
|
||
|
"""
|
||
|
For use by the Travis scripts, just print out the hostname of the Docker
|
||
|
daemon from the environment.
|
||
|
"""
|
||
|
|
||
|
import docker
|
||
|
import testlib
|
||
|
|
||
|
docker = docker.from_env(version='auto')
|
||
|
print testlib.get_docker_host(docker)
|