How to connect to AWS ECR using python docker-py

Login Fail dockerClient refuses the connection with “bad username or password” The signature of the function you are calling to login is: def login(self, username, password=None, email=None, registry=None, reauth=False, insecure_registry=False, dockercfg_path=None): Note the position of the registry parameter. It is fourth in the list. So your call of: regClient = dockerClient.login(username, password, registry) Is passing … Read more