aderc-amd64-dashing and aderc-amd64-roxy images not properly set to ubuntu 20.04?

Hi I am using ubuntu 20.04 focal distro and starting and entering the

.aderc-amd64-dashing

.aderc-amd64-foxy

I have realized that rviz2 does not work without run docker with --privileged flag. Just the images built with lgsvl simulator has rviz2 working.

.aderc-amd64-dashing-lgsvl

.aderc-amd64-foxy-lgsvl

I have detailed here the errors that I get and how I "solved" https://answers.ros.org/question/373765/rviz2-does-not-open-in-ubuntu-2004-docker-ade-image/

I would like to know which file I could modify to work properly and what to write on these files is it .aderc or Dockerfile or bash or another???

Edited by Marcus Vinicius Leal De Carvalho