Docker, Error: OpenGL 4.4 context creation failed

Thanks for hint. As I’m testing more, it seems that there is a problem with installation of OpenGL on top of nvidia/cuda:11.4.2-devel-ubuntu20.04 image, in this case it doesn’t work.
As I run with nvidia/opengl:1.2-glvnd-devel-ubuntu20.04:

docker run --gpus all --rm -it -v /dev:/dev --net=host -e DISPLAY=:0 --privileged=true nvidia/opengl:1.2-glvnd-devel-ubuntu20.04 bash

GL app runs as should. So probably I should install CUDA on top of NVIDIA OpenGL image. I’ll check it.