Skip to content

itaru2622/docker-aws-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Docker Build & Publish

basic use example

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.

Releases

No releases published

Packages

No packages published