remote: Bring back docker exit status mapping (#47206)

cc https://github.com/zed-industries/zed/pull/45584, was removed in
#47200 fully due to breaking ssh
Also makes ZED_BUILD_REMOTE_SERVER a bit easier to use

Release Notes:

- N/A *or* Added/Fixed/Improved ...
164e37e41dLukas Wirth committed on 1/20/2026, 11:26:40 AM· committed by GitHubparent8d55527
4 files changedLine totals unavailable