Option-Command-D hides the Dock or brings it back. Hidden, it still slides into view when you push the pointer to the edge of the screen.