Wrap cfn-sphere inside a docker container
244
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.
Content type
Image
Digest
Size
64.9 MB
Last updated
over 7 years ago
docker pull magarcia/cfn-sphere