import docker class Docker: def __init__(self, endpoint): self.client = docker.DockerClient(endpoint)