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

Method _execute_docker

dev/archery/archery/docker/core.py:226–234  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

224 )
225
226 def _execute_docker(self, *args, **kwargs):
227 # execute as a plain docker cli command
228 try:
229 result = Docker().run(*args, **kwargs)
230 result.check_returncode()
231 except subprocess.CalledProcessError as e:
232 raise RuntimeError(
233 f'{e.cmd} exited with non-zero exit code {e.returncode}'
234 )
235
236 def pull(self, service_name, pull_leaf=True, ignore_pull_failures=True):
237 def _pull(service):

Callers 5

_pullMethod · 0.95
_buildMethod · 0.95
runMethod · 0.95
_pushMethod · 0.95
pushMethod · 0.95

Calls 3

DockerClass · 0.85
check_returncodeMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected