GitHub - getprobo/docker-aws-cli-with-ssm-plugin: The AWS CLI with pre-installed the SSM plugin

1 min read Original article ↗

Docker AWS CLI with SSM Plugin

This Docker image extends the official Amazon AWS CLI image by adding the AWS Session Manager plugin. It supports multiple architectures:

  • x86_64 (amd64)
  • ARM64 (aarch64)

Usage

Pull the image

docker pull ghcr.io/getprobo/docker-aws-cli-with-ssm-plugin:latest

Run AWS CLI commands

docker run --rm -it \
  -v ~/.aws:/root/.aws \
  ghcr.io/getprobo/docker-aws-cli-with-ssm-plugin:latest \
  s3 ls

Start an SSM session

docker run --rm -it \
  -v ~/.aws:/root/.aws \
  ghcr.io/getprobo/docker-aws-cli-with-ssm-plugin:latest \
  ssm start-session --target i-1234567890abcdef0

Building Locally

To build the image locally:

docker build -t aws-cli-with-ssm-plugin .

License

This project is based on the Amazon AWS CLI image and the AWS Session Manager Plugin.