Lines Matching full:docker
8 import docker
10 logging.info("Docker API is not installed in this environment")
14 # Default docker socker.
15 DOCKER_SOCKET = env_vars.get('DOCKER_SOCKET', '/var/run/docker.sock')
17 # This the default IP where the docker daemon is running on the Satlab.
19 # This the default IP where the docker daemon is listening on the Satlab.
21 # Optional docker tcp ip address/port dockerd listens to.
30 Get the client of the host Docker server either via default Docker socket or TCP connection.
32 # Use default TCP connection IP to create docker client if docker socket(
33 # /var/run/docker.sock) doesn't exists on the machine or when TCP connection IP
34 # is not default IP, otherwise use docker socket file to create docker client.
37 client = docker.from_env(timeout=timeout)
41 client = docker.DockerClient(base_url=tcp_connection, timeout=timeout)
84 except docker.errors.APIError:
86 except docker.errors.NotFound: