Replies: 1 comment 2 replies
-
Hey @vkalach, It doesn't look like it if you're trying to do something like this https://docs.docker.com/build/buildkit/configure/#resource-limiting Perhaps you could create the buildx instance before running Kamal with that setting and then Kamal would just utilize the newly created buildx instance. Here's the line that's creating the buildx context via Kamal https://github.com/basecamp/kamal/blob/main/lib/kamal/commands/builder/local.rb#L3 You can pass build args to when the container is actually built but that's for for your actual container https://kamal-deploy.org/docs/configuration/builders/#build-arguments |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone!
I was wondering is it possible to limit memory usage of builder's container?
I'm using github self-hosted runner and it looks like with every deploy my builder container consumes more and more memory and finally I receive OOM error and runner crashes.
Beta Was this translation helpful? Give feedback.
All reactions