Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build is not honoring the memory limits #1362

Closed
yshemesh opened this issue Feb 10, 2020 · 1 comment
Closed

Docker build is not honoring the memory limits #1362

yshemesh opened this issue Feb 10, 2020 · 1 comment

Comments

@yshemesh
Copy link

$ DOCKER_BUILDKIT=1 docker build --memory="1g" -t my-app . 

$ docker --version
Docker version 19.03.3, build a872fc2f86

The kernel kills processes after OOM because docker IGNORES the "--memory".
If you remove the DOCKER_BUILDKIT=1 then everything works as expected

@tonistiigi
Copy link
Member

dupe of #593

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants