Sign inSign up

polymathrobotics/aws-cli

By polymathrobotics

•Updated over 1 year ago

AWS command-line interface.

Image
0

2.5K

polymathrobotics/aws-cli repository overview

⁠aws-cli

Command-line interface v2 for Amazon Web Services

Source location: https://github.com/polymathrobotics/oci/tree/main/paperspace-cli⁠

Based on https://github.com/aws/aws-cli/blob/v2/docker/Dockerfile⁠

Installing past releases of the AWS CLI version 2: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-version.html⁠ https://github.com/aws/aws-cli/blob/v2/CHANGELOG.rst⁠

⁠Getting started with the command-line interface

Obtain an AWS Access Key and Secret Key.

It's probably easiest to share credentials and configuration from host system to the container. Configure with the following:

mkdir -p $HOME/.aws
docker run -it --rm \
  --mount type=bind,source="$HOME/.aws",target=/root/.aws \
  docker.io/polymathrobotics/aws-cli configure --profile default
AWS Access Key ID [None]: ABC123
AWS Secret Access Key [None]: superseekret
Default region name [None]: us-east-1
Default output format [None]:

You can test that the credentials are valid by using the aws s3 ls command:

docker run -it --rm \
  --mount type=bind,source="$HOME/.aws",target=/root/.aws,readonly \
  docker.io/polymathrobotics/aws-cli s3 ls --profile default

Tag summary

Content type

Image

Digest

sha256:01e656877…

Size

139 MB

Last updated

over 1 year ago

docker pull polymathrobotics/aws-cli