Open elchicodepython opened 5 years ago
We should implement an AP with access to Deploy Dockers and VMs. The platform should handle all the interaction with laboratories through this API providing developers the ability to start, stop and remove laboratories on the fly.
from realitymismatch.core.labs import deploy lab = deploy.docker('levelLab:0.2', ports=((80, 80), (22, 22)), ) lab.start() ... lab.destroy()
After a lot of research. Im implementing this using a Lab Gateway which will serve as an abstraction to create and deploy labs.
Lab Gateway
Labs Deployment API
We should implement an AP with access to Deploy Dockers and VMs. The platform should handle all the interaction with laboratories through this API providing developers the ability to start, stop and remove laboratories on the fly.
Example of use (Not final)