So that I don't have to go looking for this again next time, you can move the dock to the left, center, or right (or top, middle, or bottom, if you have it on the left or right side of the screen) using one of the following Terminal commands:
defaults write com.apple.dock pinning -string start
defaults write com.apple.dock pinning -string end
defaults write com.apple.dock pinning -string middle
Then restart the Dock for it to take effect:
killall Dock
Update: Bryan's comment made me realize I wasn't really clear on what I was talking about here. Read more »