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)