The above command is not associated to docker alone.
It is an AWS cli command to authenticate into the private container image registry(ECR).
Run the below command to get the password for container registry
aws ecr get-login-password --region us-east-1
Then use the password against the below command
| podman login --username AWS --password-stdin <aws_account_id>.dkr.ecr.<region>.amazonaws.com