How can I specify a custom icon for a Dock stack? I've created a folder in Finder with aliases of several apps. I want to add this to my dock so that those apps are grouped together and the dock isn't quite as messy. No problem; I added the folder to the dock and it's displaying as a stack. The only problem is, the icon displayed in the dock is the icon of the first app in the folder, rather than the custom icon I assigned to the folder in Finder. Is there a way to force the dock to display the custom icon?
You need to change the icon of the folder that contains the items in the stack.  This can be done in several ways, but perhaps the easiest is to start by navigate to the folder of the stack, change that icon, and set the stack to display the folder instead of the contents. 

Click the stack, click "Open in Finder" in the stack, and then press the keystroke ⌘ + ▲.  The key press will take you "one level up" in the directory hierarchy so that you are now looking at the folder that houses the items in the stack.

Next, select the folder (If it's not already selected), and "get info" on it, by typing ⌘ + I, or right-clicking and selecting "Get Info".  At the top of this window will be a miniature icon of a folder.  You can click on this and copy it via the keyboard shortcut (⌘ + C), or paste in an image that you copied from somewhere else.

Finally, you need to right-click on the stack and set it to display "folder" and not the stack contents.