indeed, this is generally the way I've worked for a number of years. It still has not stopped me having to spend a fair amount of time dealing with the underlying causes of "Works on my machine". But it has meant a more friendly and collaborative partnership with the Dev's while I do it.
For all but the most basic websites, environment/platform are mostly non-trivial and can easily throw up the unexpected difference from running locally or in a Dev env vs "Test/UAT/Prod". And I've used docker extensively, it just means the discrepancy is hidden in some .yaml configuration :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.