My employer has surprised me by ordering me a new 16" MacBook Pro. I want to set up all my current and future projects with a local server. Do I go with Docker or MAMP? What are the advantages one over the other?
Just define two targets, MAMP and remote, Develop into MAMP then switch to remote when appropriate and upload. Database is a bit more fiddly as you need to keep the structures in sync, personally I do that manually, when i change local i also change remote but that is my preference.
I do the same as @Hyperbytes. Just one thing to add (which may be obvious): make sure your database name, and username/passwords etc. are set in your local enviroment to match the remote version, so you can switch from one to the other easily.