Thanks @puneetse! Your last suggestion did the trick!
Now one last thing to complete my question. In a previous message I asked whether docker is a good way to distribute a graphical application or not.
Actually, what I am distributing is an entire software framework to develop graphical applications for a control system. The docker image contains several layers of libraries (base control system libraries plus a multi threaded interface to the library plus qt control widgets plus Qt designer plugins and a bunch of graphical applications) and its sole purpose is to give the possibility to try the whole thing without installing all dependencies and environment.
Now that I’ve described what I use docker for, I think you can suggest me whether I am using docker properly or not.
I’ve removed the containers-virt bundle as well and now it is possible to run the xclock app without --runtime=runc (by the way, I’ve noticed there’s no trace of the --runtime option in `man docker run’ )
But why was the option necessary? Or, why was it necessary to remove containers-virt?
As you said, containers-virt run docker images in a more lightweight virtual machine. Doesn’t it provide accesso to X? Will it in the future? how much lighter is it compared to docker itself?
Thanks for solving my issue and for any forthcoming suggestion
Elettra Synchrotron Radiation Facility