Running the official Amazon ECR Public or Docker images for the AWS CLI - AWS Command Line Interface
This topic describes how to run, version control, and configure the AWS CLI version 2 on Docker using either the official Amazon ECR Public or Docker Hub image.