At present box config set server.defaults={trayEnable=false} will hide the server instance from the MacOS menu bar but has no effect on the dock. The icons that end up taking space on the dock also have no real use. If you have multiple instances running, there's no way to distinguish them on the dock and the context menu for them provides no controls for the instance like it does in the menu.
Not even sure there is any value to the icons in the Dock but would at least like a way to disable them if they are going to stick around for some reason.
FWIW there was discussion on cfml.slack.com about this code in runwar:
Heh, well let’s say current and PREVIOUS Mac users can comment on their current or PAST experience with the dock icon
Runwar feature added in this pull
This looks great. Would you like to add the changes to CommandBox to use this flag now? Should all be contained to the ServerService and you can follow another flag like the tray enable to just copy what it does.
Was this ticket completed including the changes to CommandBox to pass the flag?
Why did you mark this ticket resolved? You still haven’t addressed my last two comments.
The necessary code on CommandBox to manage this new feature of runwar has been added