Setting shm_size
for Docker Containers?
#25740
-
Using Selenium browser to run tests, apparently, takes quite a bit of memory. Without the Is there a way within GitHub Actions to set this value? Here’s how I do it locally in my
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
I assume you mean for a job container? I haven’t tried myself, but based on the docs
Service containers have an |
Beta Was this translation helpful? Give feedback.
-
So simple, thank you! I was worried for a second :slight_smile: |
Beta Was this translation helpful? Give feedback.
-
What about @airtower-luna I see a lot of issues on GitHub regarding docker that have been answered with "use While writing this, I'm currently searching, (since several days), the reason why running docker-compose in GitHub actions doesn't work for certain services in GitHub but works perfectly fine locally. So in my view, GitHub would have better spent effort on a nicer troubleshooting mechanism instead of reinventing docker-compose. (I'll eventually open a new issue/discussion if I still can't manage) |
Beta Was this translation helpful? Give feedback.
I assume you mean for a job container? I haven’t tried myself, but based on the docs
jobs.<job_id>.container.options
should do the trick:Service containers have an
options
parameter that should work the same way.