Unless you've found a serious bug / security vulnerability, Docker doesn't mess with your OS. On OSX / Windows (and this is definitely an argument against Docker ux), it's not even running on your OS but a separate VM.
I did not mean "now docker messes with the OS", but "now docker is the one who messes with the thing in the container".