How to avoid Docker containers failing with error 137

How to avoid Docker containers failing with error 137