diff --git a/utils/docker.py b/utils/docker.py index 2fe1b42..24ff4e2 100644 --- a/utils/docker.py +++ b/utils/docker.py @@ -43,7 +43,7 @@ class DockerUtils: 'if you are using unix:///var/run/docker.sock, check if the socket is correctly mapped' ) credentials = get_config("whale:docker_credentials") - if credentials and credentials.count(':') == 1: + if credentials and credentials.count(':') == 3: try: DockerUtils.client.login(*credentials.split(':')) except Exception: