carlpett / teamcity-container-cloud

Run TeamCity agents within containers
Apache License 2.0
14 stars 0 forks source link

Add support custom docker run parameters #12

Open RomanDanyk opened 7 years ago

RomanDanyk commented 7 years ago

Hi,

Can you add support custom docker run parameters? For example, I would like to run docker container with custom --shm-size parameter.

Thanks.

Antilamer commented 7 years ago

Faced the same problem. This feature will be very useful.

carlpett commented 7 years ago

Hi, Sorry about long delay. This is not quite as simple as it might seem, sadly, since we're not explicitly calling docker, but rather using the API. So while support for shm-size and all the other parameters are in the API, there needs to be specific UI elements to set them all (or implement a parser which takes a docker commandline and turns it into API calls - but that would be very complicated).

I'm hoping to have some time to spend on this project soon, but currently I'm swamped with work. I would be very happy to accept a pull request which builds the UI around this (JSP work is rather slow for me), and I'll gladly help if someone has time. Otherwise, I will implement it when day-work clears up!

rariteta commented 7 years ago

Also looking forward for this feature. Carlpett, thank you for your great plugin! Just curious, whether aren't you yet available for the continuation of its development?