cloudmapper icon indicating copy to clipboard operation
cloudmapper copied to clipboard

FR: Docker Image

Open vfarcic opened this issue 8 years ago • 6 comments

It might be useful to create a Docker image for the project.

vfarcic avatar Feb 21 '18 09:02 vfarcic

I don't have much experience with Docker. Would this be more useful as a Docker image vs a python package (https://github.com/duo-labs/cloudmapper/issues/1)? My plan was to make it's setup just pip install cloudmapper and then running a few commands to configure an account, gather the AWS data, prepare it, and serving it as a webserver. I think putting it in a Docker container might hide a lot of functionality.

0xdabbad00 avatar Feb 22 '18 22:02 0xdabbad00

Putting it in a docker container does obscure many of the options, but it makes it so much easier to deploy. Getting the aws-cli or the right python package dependency usually works, on most instances, but not always. It's why I've started to move towards go for similar tools.

Perhaps an additional alternative would be the use of a config file that allows toggling options, similar to the spf13/viper/cobra package combination? arguments override config, but a config file might more easily enable deployment as a running service.

That said, I only think it would be great to get it as a complete python package per #1

ngerstle avatar Feb 23 '18 18:02 ngerstle

i recommend the python package even if docker. Python package makes it easy to install. Docker makes it easier to run.

cybergoof avatar Feb 23 '18 18:02 cybergoof

I've started building one https://github.com/FernandoMiguel/cloudmapper/blob/master/Dockerfile

I'll make a PR once it works

FernandoMiguel avatar Feb 24 '18 11:02 FernandoMiguel

PR submitted https://github.com/duo-labs/cloudmapper/pull/54

FernandoMiguel avatar Feb 24 '18 13:02 FernandoMiguel

Resolved by #27

ngerstle avatar Feb 26 '18 17:02 ngerstle