Skip to content
This repository has been archived by the owner on Dec 20, 2020. It is now read-only.
/ daws Public archive

A Docker image which embeds AWS CLI, based on Ubuntu Bionic

Notifications You must be signed in to change notification settings

olivier-schmitt/daws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

daws

Travis CI Docker Repository on Quay

daws is Docker image which embeds the AWS CLI.

It's based on Ubuntu Bionic and the last version of AWS CLI.

The Python ecosystem can be quite difficult to leverage, it never works properly on my MacOS.

The following command runs a Bash inside a container:

docker run \
    -it --rm --name daws -v ${HOME}/cf-templates:/home/aws/work \
    -e AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION} \
    -e AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} \
    -e AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} \
    quay.io/olivier_schmitt/daws:latest \
    /bin/bash

Then execute aws CLI commands inside from inside the container.

If you want to keep the container alive don't use --rm option.

Then :

docker start -i daws 

Be VERY CAREFUL WITH ENV VARIABLES : they are saved with the container and could be used by an attacker.

About

A Docker image which embeds AWS CLI, based on Ubuntu Bionic

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published