zzh@ZZHPC:~$ aws ecr get-login-password xxxxxxxxxx
zzh@ZZHPC:~$ aws ecr get-login-password | docker login --username AWS --password-stdin 793698357301.dkr.ecr.ap-southeast-2.amazonaws.com WARNING! Your password will be stored unencrypted in /home/zzh/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded zzh@ZZHPC:~$ docker pull 793698357301.dkr.ecr.ap-southeast-2.amazonaws.com/zimplebank:b1523aa46eac5a5908662af609143bfa8c0dacb7