/docker-cfn-sphere

Wrap cfn-sphere inside a docker container

Primary LanguageDockerfileApache License 2.0Apache-2.0

docker-cfn-sphere

Wrap cfn-sphere inside a docker container

Usage

docker run --rm  \
    --workdir=$(pwd) \
    -v $(pwd):$(pwd) \
    -v $HOME/.aws:/root/.aws \
    magarcia/cfn-sphere:latest \
    cf <command>

In order to make it easier to use, create an alias with this (use single quotes):

alias cf='docker run --rm  --workdir=$(pwd) -v $(pwd):$(pwd) -v $HOME/.aws:/root/.aws magarcia/cfn-sphere:latest cf'

Now the alias is going to work like the cfn-sphere command.