Absolutely, it is a very good idea to use Docker for development and production environment locally. On development environment, Docker can make your work very easy:
It can save you time.
It can simplify or automate your workflow.
I personally use Docker every day on my local development environment to run MongoDB, Nginx and start web apps. One instance or many. One version or many. If you want to learn Docker then I would suggest you must take up the following Docker training Course. You can also watch the following Docker video tutorial to learn more about it.