There is to my knowledge no good solution to this issue. For some reason the good folks at apple have conflated the top of screen menu with the dock, and if you get one on any screen, you also get the other. Without resorting to a third party app, there is no way to have menu bars in each screen but lock the dock to the bottom of a single screen. (I would be glad to be proven wrong here, but I've looked a bunch and not found a way)
Details:
If monitors are arranged 'stacked' then the dock will be at bottom of the bottom monitor. However, few of us arrange this way and those who do would most likely not be asking this question.
If monitors are side by side, you can move it ALL-THE-WAY to the left or right and it will stay there, but that is not as requested (or as many people desire) at the bottom of a single screen.
You can hide it, so it won't obscure stuff, but it will still move around whenever mouse is 'bottomed' on a screen for small period of time. This might be the 'best' solution, provided you like a hidden dock, as you can then easily access it on any screen, but it is not in the way or annoying you by being seen to 'jump around'. It is rather there when you want it, and hidden otherwise. (I strongly suspect anyone doing usability testing had things set this way and thought it was just great, and why would anyone want to see the dock all the time anyway... )
You can turn off the each monitor is own space stuff, but then you lose having the menu bar at the top of each screen. Obviously folks have different perspectives, but one thing I HATED about mac's multi-monitor support was having to move to an entirely different screen to access the top-screen menu for a program open on a different screen. This was something I really like about mavericks (multiple menu bars) but sadly it seems to come at the price of the annoying jumping dock
If don't want a hidden dock, and you want top menus bars on each screen, and dock fixed at the bottom, the best workaround appears to be to basically disable all the new mavericks stuff by disabling 'each screen is its own space' Then get a utility like "Second Bar" which while discontinued is still available, as a way to get a menu bar at the top of each screen. I used Second Bar a lot with mountain lion and found it to work well (although you need to have a second renamed copy of the app for each additional screen) I have not used it with Mavericks so cannot say how well it does or does not work.
5I know it's an old thread, but until today, I don't see the exact answer to do this. (Sorry, but I can't post as an answer yet.., low rep on SU) With this terminal command you can *stick* the dock position.
$ defaults write com.apple.Dock position-immutable -bool yes
then, just do a$ killall Dock
to reset the dock and you're done. – gmo – 2015-05-19T14:53:14.397@gmo - darn, this didn't work for me on Yosemite after re-enabling "Displays have separate spaces" :( still looking for a solution, any suggestions – Brad Dwyer – 2015-05-20T15:11:12.680
no? In my case it's still on the same position... since yesterday (well, now I'm thinking.. I didn't reboot since then).. Do you do something special when you notice and this hack stop working?... I'm also was looking for a definitive solution, it's a very annoying behaviour. Too bad It's not bulletproof. – gmo – 2015-05-20T16:20:10.597
2Nope, changing that setting via Terminal just doesn't seem to have any effect for me. Still jumps around when I move my cursor to the bottom of another screen unless I disable "Displays have separate spaces". – Brad Dwyer – 2015-05-21T17:57:45.023
The
position-immutable
hack from @gmo does not work for me, either: the Dock still jumps screens when dragging at the bottom. – ctrueden – 2015-09-23T17:12:09.250This does not work: defaults write com.apple.dock position-immutable -bool true; the postion in this case refers to the left right bottom on the same screen. – David Dehghan – 2015-10-05T05:11:23.160
84 Years and it is still the most annoying thing ever... I am washing down anti-depressants with vodka because of this. How is this a feature! Does anyone use it? I mean has anyone actually said "I wish that dock thing would get in the way whenever I move near the bottom of the screen". – Recycled Steel – 2017-08-08T10:56:28.630
1Who comes up with crap like this? Mac is so stupid! I HATE IT, I HATE IT, I HATE IT!!!!!!!!!! – Max Binnewies – 2018-07-19T04:38:04.703
All of the answers seem to imply just two monitors. I have 3 and as of MacOS 10.15.3 this is the most annoying feature of MacOS. The Dock jumps all over the place for seemingly random reasons. I have to large external monitors over the built-in Retina screen (in center). Ideally I'd love to lock Dock at bottom of Retina screen. – Rich Sadowsky – 2020-02-13T18:35:55.707
2
I think this is also mentioned here: After a month of use, we dish out our biggest gripes with OS X Mavericks
– slhck – 2013-11-28T16:50:40.263