diff --git a/src/main/python/ddadevops/infrastructure/infrastructure.py b/src/main/python/ddadevops/infrastructure/infrastructure.py index 4a65c63..9712b7f 100644 --- a/src/main/python/ddadevops/infrastructure/infrastructure.py +++ b/src/main/python/ddadevops/infrastructure/infrastructure.py @@ -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):