MacOs docker groupadd error

Recently I faced with a bug when my docker containers didnt success building in macos. First my thoughts was that shell command to getting UID and GID was not working correctly. But I did a test in MacOs in Virtualbox and everything was fine.
The command which end up with error was:

Job for virtualbox.service failed because the control process exited with error code.

I was playing with Windows XP on the latest Virtualbox 6.1.26 and discovered that there is no Direct3D support anymore! I've tried everything like 256MB RAM for video and checkbox, for sure.
On one of the page I found info that on the version 5.1.38 it still working. And I reinstall virtualbox from deb package. Install was not clear, since packages