This Docker has compiled OpenCV from source (currently 4.3.0). In addition it has Node-RED (1.0.6) with the OpenCV node installed.
Example command to start the docker (see nodered.org):
docker run -it -p 1880:1880 --name mynodered nodered/node-red
It should also be possible to connect to OpenCV gui. How-To.