Run the AWS CLI from official Amazon ECR Public or Docker images - 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.