skip container if dir does not exist
This commit is contained in:
@@ -87,6 +87,9 @@ class Container:
|
||||
|
||||
def _pull_images(self) -> None:
|
||||
logging.info(' pulling images')
|
||||
if not self._work_dir.is_dir():
|
||||
print(f"Skipping {self._name}, {self._work_dir} does not exist")
|
||||
return
|
||||
call(['docker-compose', 'pull', '--ignore-pull-failures', '--quiet'],
|
||||
cwd=self._work_dir)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user