By default the Dock in macOS is on the bottom of the screen. Sometimes this isn’t ideal because it takes valuable space that could contain content. Try hiding the Dock automatically or moving it to the side of the screen.
Wow, I can finally have the Dock exactly like I want!
The Mac’s Dock gives you quick access to frequently used apps, documents, and folders, and makes it easy to switch to a running app. In macOS 10.14 Mojave, the Dock has another new feature!
Put the Dock on the side of your Macintosh’s screen, where there’s plenty of room.