MihaMarkic / Cake.Docker

Cake AddIn that extends Cake with Docker
MIT License
47 stars 36 forks source link

Add support for docker-compose port and ps #68

Closed LionelLalandeBetclic closed 5 years ago

LionelLalandeBetclic commented 5 years ago

We need to retrieve easily the port of a docker-compose service without fetching Container ID before. Also, we would like to have the docker-compose ps to fetch some information.

PS: I give you PATCH files to Apply modifications

Cake.Docker.zip

MihaMarkic commented 5 years ago

Thanks for the contribution. I have to change port result to IEnumerable<string> though - since the result is very unpredictable (i.e. in my case I was getting 0.0.0.0:8079 or one could get something else).

LionelLalandeBetclic commented 5 years ago

Your welcome and thank you for your feedback!