As a new to docker I want to understand the process of Dockerfile development. For my newbie point of view it tedious to update a line in the Dockerfile then build, run and test and if something doesn’t work, delete the container and image. And finally update the Dockerfile and repeat the process.
How do you develop your dockerfile? E.g. you might create a VM and try all installations and steps and put them into the Dockerfile, right?