vantage6.common.docker.addons.pull_image#
- pull_image(docker_client, image, suppress_error=False)#
Pull a docker image
- Parameters:
docker_client (DockerClient) – A Docker client
image (str) – Name of the image to pull
suppress_error (bool) – Whether to suppress the error if the image could not be pulled
- Raises:
docker.errors.APIError – If the image could not be pulled
- Return type:
None