How to Change Applications Dock Icon in OS X

System PreferencesScreenSnapz002After adding my applications folder back to the dock I noticed that the dock icon was using a different icon than the original Applications icon. The icon was using some other app icon (in my case it was the Lightroom app icon) instead of the Applications folder.

Here is how to change it back.

Right-click on the icon in the dock that is currently posing as the Applications icon.
Notice that it current shows Display As Stack as checked, it will look like this.
Google ChromeScreenSnapz002

To Fix it: Select the Display as Folder option.
This should change the icon back to the proper Applications icon as indicated in the picture below.
Google ChromeScreenSnapz003


Hope this helps. Let me know in the comments