mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Fix credential issues
This commit is contained in:
parent
10b5254e82
commit
51af30aff3
@ -87,7 +87,8 @@ class CheckCorporaMixin:
|
|||||||
labels=labels,
|
labels=labels,
|
||||||
mounts=mounts,
|
mounts=mounts,
|
||||||
name=name,
|
name=name,
|
||||||
restart_policy=restart_policy
|
restart_policy=restart_policy,
|
||||||
|
user='0:0'
|
||||||
)
|
)
|
||||||
except docker.errors.APIError as e:
|
except docker.errors.APIError as e:
|
||||||
current_app.logger.error(
|
current_app.logger.error(
|
||||||
@ -194,9 +195,10 @@ class CheckCorporaMixin:
|
|||||||
command=command,
|
command=command,
|
||||||
detach=detach,
|
detach=detach,
|
||||||
entrypoint=entrypoint,
|
entrypoint=entrypoint,
|
||||||
volumes=volumes,
|
|
||||||
name=name,
|
name=name,
|
||||||
network=network
|
network=network,
|
||||||
|
user='0:0',
|
||||||
|
volumes=volumes
|
||||||
)
|
)
|
||||||
except docker.errors.ImageNotFound as e:
|
except docker.errors.ImageNotFound as e:
|
||||||
current_app.logger.error(
|
current_app.logger.error(
|
||||||
|
@ -133,7 +133,7 @@ class CheckJobsMixin:
|
|||||||
name=name,
|
name=name,
|
||||||
resources=resources,
|
resources=resources,
|
||||||
restart_policy=restart_policy,
|
restart_policy=restart_policy,
|
||||||
user='1000:1000'
|
user='0:0'
|
||||||
)
|
)
|
||||||
except docker.errors.APIError as e:
|
except docker.errors.APIError as e:
|
||||||
current_app.logger.error(
|
current_app.logger.error(
|
||||||
|
Loading…
Reference in New Issue
Block a user