- just write your code first, without docker
- git push your application when you can first deploy
- create a docker image, in dockerFile or init of your image, git clone the lastest code
- pack it into image
- for old machine, update the container with new image
- one application one docker
- mysql no need include in docker, and it should not go into a separate docker. just find a machine or one of a machine to run it.