Fix credential issues

This commit is contained in:
Patrick Jentsch 2022-04-25 15:21:30 +02:00
parent 10b5254e82
commit 51af30aff3
2 changed files with 6 additions and 4 deletions

View File

@ -87,7 +87,8 @@ class CheckCorporaMixin:
labels=labels,
mounts=mounts,
name=name,
restart_policy=restart_policy
restart_policy=restart_policy,
user='0:0'
)
except docker.errors.APIError as e:
current_app.logger.error(
@ -194,9 +195,10 @@ class CheckCorporaMixin:
command=command,
detach=detach,
entrypoint=entrypoint,
volumes=volumes,
name=name,
network=network
network=network,
user='0:0',
volumes=volumes
)
except docker.errors.ImageNotFound as e:
current_app.logger.error(

View File

@ -133,7 +133,7 @@ class CheckJobsMixin:
name=name,
resources=resources,
restart_policy=restart_policy,
user='1000:1000'
user='0:0'
)
except docker.errors.APIError as e:
current_app.logger.error(