My server build uses a lot of swap per container and I am told that docker uses the host swap for instances. My host ssd is only 256gb and is only intended to run the OS. I have setup a zfs pool (9 Tb and growing...) for docker and wanted it to use a portion of it for swap since each instance needs 768k of swap and we plan on running 4k instances.
How can I configure docker to utilize some kind of custom zpool swap dedicated space?
Why don't you simply disable the swap?
(from here https://serverfault.com/questions/684771/best-way-to-disable-swap-in-linux )
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.