skip container if dir does not exist
This commit is contained in:
1 parent
75229bbb20
commit
b81d9fee60
1 file changed
+3
@@ -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