Docker workflow - pull-use-modify-commit-push
Now, as we are nearing the end of this chapter, we can guess what a typical Docker workflow is like:
- Prepare a list of requirements to run your application.
- Determine which public image (or one of your own) can satisfy most of these requirements, while also being well-maintained (this is important as you would need the image to be updated with newer versions whenever they are available).
- Next, fulfill the remaining requirements either by running a container and executing the commands that fulfill the requirements (which can be installing dependencies, bind mounting volumes, or fetching your source code), or by writing a Dockerfile (which is preferable since you will be able to make the build repeatable). ...