The dock should have the applications you commonly need to get to. However, some simply want it to show them the applications that are open. You can do this by running the following command:
defaults write com.apple.dock static-only -bool TRUE
Once run, reboot, or just restart your dock with the following command:
killall Dock
To undo it:
defaults write com.apple.dock static-only -bool FALSE