Can I show drives in the dock?

Solution 1:

Prior to macOS Catalina, you can add a Recent Volumes stack to your Dock.

  1. Add the ‘recents-tile’.

    defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = {"list-type" = 1; }; "tile-type" = "recents-tile";}' && killall Dock
    
  2. Right-click the ‘Recent *’ stack and set it to show ‘Recent Volumes’.

In macOS Catalina, this functionality was removed: Catalina recent items stack in dock no longer working.