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
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -201,7 +201,10 @@ class RemoteComputingManager(ComputingManager):
            
            # Set registry
            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':
                registry = 'docker://'
            else: