Provide way to disable server instance icon in MacOS dock


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 about this code in runwar:


Brad Wood
January 15, 2020, 2:51 PM

Heh, well let’s say current and PREVIOUS Mac users can comment on their current or PAST experience with the dock icon

Brad Wood
January 30, 2020, 8:45 PM

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.

Brad Wood
March 5, 2020, 7:22 PM

Was this ticket completed including the changes to CommandBox to pass the flag?

Brad Wood
March 26, 2020, 6:06 PM

Why did you mark this ticket resolved? You still haven’t addressed my last two comments.

Miguel Mathus
April 21, 2020, 12:37 AM

The necessary code on CommandBox to manage this new feature of runwar has been added



Miguel Mathus


Owen Knapp



Affects versions


Fix versions