However, as image processing generally requires a GPU for better performances, the first question is: can Docker handle GPUs? It allows to setup easily even the most complex infrastructures, without polluting the local system. I'm used to using Docker for all my projects at marmelab.
This is the story of how I managed to do it, in about half a day. That means I have to configure Docker to use my GPU.
But I'm reluctant to install new software stacks on my laptop - I prefer installing them in Docker containers, to avoid polluting other programs, and to be able to share the results with my coworkers. Diving into machine learning requires some computation power, mainly brought by GPUs.