Skip to content

callum-ryan/awscli-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Running awscli in a Docker container

Setup

$ export API_TOKEN=123456789abcdefg
$ build.sh rebuild

Put this in .bashrc or .zshrc to run almost natively

aws(){
    docker run -it --rm \
        -v "${HOME}/.aws:/root/.aws" \
        --log-driver none \
        --name aws \
        aws-cli "$@"
}

Usage

This will use the ~/.aws/config file for credentials. So either place them in your home dir or configure via aws

 $ aws configure

About

Run awscli through a docker container

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published