Memory-swap is a flag that has no effect unless --memory option is also set. When a container has used up all of the RAM available to it, swap allows it to assign express memory specifications to the disc.