I tried running the latest builds of debian and alpine but seems to run as root user.
I expected echo $USER
should not return root if it returns empty; then I need to verify with the command whoami
if that also returns root we have logged into docker container in root mode which can lead to a vulnerability.