These terms describe manipulations to user-interface elements, such as toolbars.
You dock a toolbar, for example, when you align it with the edge of another interface element, typically a window or panel.
You float a toolbar when you detach it from a stationary position, and reposition it elsewhere on the desktop.