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

Add support for memswap_limit #3187

Open
Mart-Bogdan opened this issue Dec 6, 2024 · 0 comments
Open

Add support for memswap_limit #3187

Mart-Bogdan opened this issue Dec 6, 2024 · 0 comments

Comments

@Mart-Bogdan
Copy link

Currently Swap related options of standalone docker aren't available in Swarm Mode.

Docker compose supports top level(under service) element of memswap_limit, but using it with stack deploy causes error:

memswap_limit: Set resource limits using deploy.resources

and resources section doesnt's support either top level elements memswap_limit nor memswap.

I've tried it in deploy.resources.limits as well, but no success:

services.my_srv.deploy.resources.limits Additional property memswap is not allowed

Related to this closed(but not fixed) issue docker/compose#7594 (comment)

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

1 participant