+
+
+ memory=inf, memory-swap=inf (default)
+ |
+
+ There is no memory limit for the container. The container can use
+ as much memory as needed.
+ |
+
+
+ memory=L<inf, memory-swap=inf |
+
+ (specify memory and set memory-swap as -1 ) The container is
+ not allowed to use more than L bytes of memory, but can use as much swap
+ as is needed (if the host supports swap memory).
+ |
+
+
+ memory=L<inf, memory-swap=2*L |
+
+ (specify memory without memory-swap) The container is not allowed to
+ use more than L bytes of memory, swap *plus* memory usage is double
+ of that.
+ |
+
+
+
+ memory=L<inf, memory-swap=S<inf, L<=S
+ |
+
+ (specify both memory and memory-swap) The container is not allowed to
+ use more than L bytes of memory, swap *plus* memory usage is limited
+ by S.
+ |
+
+
+