Skip to content
Snippets Groups Projects
Commit 562cfb48 authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Fixed bug in setting local Docker registry for remote computing manager.

parent 90f0f3ba
No related branches found
No related tags found
No related merge requests found
...@@ -201,7 +201,10 @@ class RemoteComputingManager(ComputingManager): ...@@ -201,7 +201,10 @@ class RemoteComputingManager(ComputingManager):
# Set registry # Set registry
if task.container.registry == 'docker_local': if task.container.registry == 'docker_local':
registry = 'docker://dregistry:5000/' # Get local Docker registry conn string
from.utils import get_local_docker_registry_conn_string
local_docker_registry_conn_string = get_local_docker_registry_conn_string()
registry = 'docker://{}/'.format(local_docker_registry_conn_string)
elif task.container.registry == 'docker_hub': elif task.container.registry == 'docker_hub':
registry = 'docker://' registry = 'docker://'
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment