https://stackoverflow.com/questions/44575531/can-i-add-new-shared-directories-to-docker-from-the-command-line

This isn't a software development, programming, or software engineering/architecture issue.

It seems malicious. The effect is certainly so, even if the intent wasn't there.

Docker is used to deploy already-written software, that's its primary purpose. Is it not on-topic here?