Resource class for docker containers
J
Jeremie Thomassey
It is today only possible to declare a resource class for the main container.
I would like the same capability but for the other containers as well.
We have one container that requires more than 2GB of RAM and we can't use it this way. We have to start a remote docker which takes a lot of time to spin up.
Photo Viewer
View photos in a modal
Autopilot
Merged in a post:
Granular Resource Classes or Swap on Docker Containers
M
Matic Miklav I
We need more granularity in resource classes or the ability to enable swap on Docker containers to handle memory spikes efficiently. This would help us avoid using larger resource classes than necessary, which currently leads to wasted resources and increased costs.
V
Vinny Thanh
Hi Jeremie,
All images that are listed in a Docker executor share the same resources - so if you specify a larger resource class then all the images, including the main image, will share that. See these docs here: https://circleci.com/docs/2.0/configuration-reference/?section=configuration#docker-executor.
If this meets your needs, let us know and we can close this idea.