I see no advantage to use docker for development, unless for some specific reasons.
But docker (swarm mode in particular) is extremely handy and convenient for deployment.
Once you learn the basics you barely need anything else for deploying solo founder scale projects.
Just dont step accidentally into kubernetes black hole. Unless you want to suffer.