SIGN IN SIGN UP

daemon: execdriver: lxc: fix set memory swap

On LXC memory swap was only set to memory_limit*2 even if a value for
memory swap was provided. This patch fix this behavior to be the same
as the native driver and set correct memory swap in the template.
Also add a test specifically for LXC but w/o adding a new test
requirement.

Signed-off-by: Antonio Murdaca <runcom@linux.com>
A
Antonio Murdaca committed
06f0d03cede5f6cdaca87f6b786555b023d5286f
Parent: 4ea3ff7
Committed by Jessica Frazelle <acidburn@docker.com> on 10/13/2015, 9:46:59 PM