Docker wouldn't be necessary if the OS beneath it wasn't so broken.
It's a solution to something that shouldn't be a problem in the first place, if the OS was designed better.