I've been using docker for a year and a half now. Since then I've learned many neat and cool tricks about docker. I'm gonna share with you one part...
For further actions, you may consider blocking this person and/or reporting abuse
I personally feel using docker for nuke type operations to circumvent potential permission issues is a bad idea. Permissions are a safeguard at the end of the day.
When I first found out about this, I had the same thoughts as well. But eventually I encounter more and more problems regarding permissions, thus making me trade security for convenience.
Although I highly don't recommend doing this for production applications as well. But I just use this for my pet projects as well as for learning purposes.
It still seems like you're going to a lot of trouble for it compared to setting
NOPASSWD: ALL
in sudoers. And it's easy to forget what you did in a makefile and publish it.