MCPcopy Create free account
hub / github.com/apache/arrow / docker_pull

Function docker_pull

dev/archery/archery/docker/cli.py:115–130  ·  view source on GitHub ↗

Execute docker compose pull.

(obj, image, *, pull_leaf, ignore_pull_failures)

Source from the content-addressed store, hash-verified

113 help="Whether to ignore pull failures.")
114@click.pass_obj
115def docker_pull(obj, image, *, pull_leaf, ignore_pull_failures):
116 """
117 Execute docker compose pull.
118 """
119 compose = obj['compose']
120
121 try:
122 compose.pull(image, pull_leaf=pull_leaf,
123 ignore_pull_failures=ignore_pull_failures)
124 except UndefinedImage as e:
125 raise click.ClickException(
126 "There is no service/image defined in compose.yaml with "
127 f"name: {e}"
128 )
129 except RuntimeError as e:
130 raise click.ClickException(str(e))
131
132
133@docker.command('build')

Callers 1

define_docker_tasksMethod · 0.85

Calls 1

pullMethod · 0.45

Tested by

no test coverage detected