use execution_api for self checking docker image
This commit is contained in:
parent
36df9f486b
commit
f3f51b165a
1 changed files with 2 additions and 4 deletions
|
@ -58,10 +58,8 @@ class ImageApi:
|
|||
)
|
||||
|
||||
def drun(self, name: str):
|
||||
run(
|
||||
f'docker run -it --entrypoint="" {name} /bin/bash',
|
||||
shell=True,
|
||||
check=True,
|
||||
self.execution_api.execute(
|
||||
f'docker run -it --entrypoint="" {name} /bin/bash'
|
||||
)
|
||||
|
||||
def dockerhub_login(self, username: str, password: str):
|
||||
|
|
Loading…
Reference in a new issue