I replied there 
Setting up a dev environment:
I believe you can find more guides for setting up docker container in your desktop.
Or open a droplet on DigitalOcean, when you want to test something, started it.
I know many set up a dev instance for testing before putting customization and plugins to production. But I don’t really know which is best for you 
3 Likes