This works natively in PowerShell, or that Windows Terminal app from the Windows store
$password = aws ecr get-login-password --region region; docker login --username AWS --password $password account-number.dkr.ecr.region.amazonaws.com
Share and learn in the Docker community.
This works natively in PowerShell, or that Windows Terminal app from the Windows store
$password = aws ecr get-login-password --region region; docker login --username AWS --password $password account-number.dkr.ecr.region.amazonaws.com