Lock memory using ulimit -l 

DOCKER_LOCKEDMEMORY is a new flag that allows the container to lock to an arbitrary amount of memory.