NTTLimitedRD / plumbery

Cloud automation at Dimension Data with Apache Libcloud
Apache License 2.0
14 stars 9 forks source link

Ability to pass in a fittings file on host machine to docker container #22

Open asimkhawaja opened 8 years ago

asimkhawaja commented 8 years ago

As a user I would LOVE to be able to pass in a fittings file sitting on the host machine as a parameter to the docker container for plumbery so that I dont have post my fittings file on a webserver.

bernard357 commented 8 years ago

Do you have access to docker storage for your container? If yes, then you can write your fittings plan to this storage, and give to plumbery the file path instead of a web link. Note that I have not tested the idea, this is just popping up as a potential solution.

tonybaloney commented 8 years ago

hey the process supports ftp, windows file shares, nfs etc. but not a local file. its a tricky one because docker containers are not persistent.

asimkhawaja commented 8 years ago

I want to try Bernards idea, after I get my fittings file working directly with plumbery.

If that doesnt work then its time to create an issue again.

bernard357 commented 8 years ago

@tonybaloney, would it make sense to you to integrate fittings plan in a Dockerfile? In other terms, we could combine plumbery and one fittings plan in a docker container. Maybe a crazy idea, so your feedback is welcome

bernard357 commented 7 years ago

@asimkhawaja do you have feedback on this one? Thanks