TeamcityDockerCloudPlugin
TeamcityDockerCloudPlugin copied to clipboard
Need support for --shm-size parameter when Ubuntu container is created
By default, docker container is created with 64 MB of shared memory size. Some build scenarios require more shared memory size, for example, UI testing scenarios using Selenium and Google Chrome in Ubuntu. I can set shared memory size using --shm-size parameters in 'docker run' command, for example: --shm-size=1G
.
Is there any ability to pass the '--shm-size' parameter in this plugin? If not, it would be good enhancement.
Best regards, Rustem Zinnatullin.
Hi @rzinnatullin Sorry for the late reply. The ShmSize setting indeed isn't supported yet. It could be part of a next minor release, but I'm not too sure when that will be. If you feel like it, you can also submit a PR for this (this previous PR is a good example on how add new settings in the cloud profile configuration template: https://github.com/JeanRev/TeamcityDockerCloudPlugin/pull/27)