How to dock toolbars on a mac

Does anyone know how to dock all toolbars on a mac?
I’m using 2 screens and all the toolbars are being opened on the second screen instead on the one with the SU

You can move the toolbars over on top of the main window but they don’t dock on the Mac. There’s one row of tools across the top which can be customized to show some tools but the rest of the toolbars just float.