To remove safari icon from macbook dock -> Right click on safari icon on your Dock and Select Options -> Select remove from Dock and safari app icon will be removed from mac dock.