An open API service indexing awesome lists of open source software.

https://github.com/itaru2622/docker-aws-cli

AWS CLI tool in docker
https://github.com/itaru2622/docker-aws-cli

aws aws-cdk aws-cli aws-eks docker

Last synced: about 1 month ago
JSON representation

AWS CLI tool in docker

Awesome Lists containing this project

README

          

[![Docker Build & Publish](https://github.com/itaru2622/aws-cli/actions/workflows/build_publish.yml/badge.svg?branch=master)](https://github.com/itaru2622/aws-cli/actions/workflows/build_publish.yml)

## basic use example

```bash
export DIR_AWS_PROFILE=${HOME}/.aws
export KUBECONFIG=${HOME}/.kube/config

touch ${KUBECONFIG}
docker run --rm -it -e http_proxy=${http_proxy} -e https_proxy=${http_proxy} \
-v ${DIR_AWS_PROFILE}:/root/.aws \
-v ${KUBECONFIG}:/root/.kube/config \
-v /var/run/docker.sock:/var/run/docker.sock \
itaru2622/aws-cli:bullseye /bin/bash

# AWS profile is needed for aws command, keep and share it with host.
# docker.socket is needed for ECR, to push docker image from local.
# KUBECONFIG is needed for EKS, keep and share it with host.
```