Just some food for thought. The question you ask might also depend on what versions of Safari & IE you are targeting. Depending on the versions, there may be unofficial possible means to get partial coverage for option 2 of creating your own node image, but this is of course untested & experimental.
Partial coverage in that the underlying OS would be Linux, not Windows or Mac, the browser runs under WINE on Linux, and perhaps via XVFB (or maybe VNC, x11 forwarding) to provide headless options.
Safari would only be applicable for Safari 4 or 5 (on Windows), to which you can attempt to get the installer/binary online
https://apple.stackexchange.com/questions/68836/where-can-i-download-safari-for-windows and package it in a docker image that includes WINE and selenium grid support - you may have to opt for an older Selenium release 2.x (or 3.x)? where it supported the older Safari version via a plugin extension on Safari to provide the SafariDriver support (which I think worked on Windows as well). This could be doable if you are testing browser support of Safari that doesn't target anything specific to newer versions of Safari. Because I recalled Safari 5 on Windows was usable enough to represent Safari 5 on Mac.