devwiki:docker

This is an old revision of the document!


Docker the Tool of build-run-delivery

  • Case study: when building pipeline, if everyone is on same team and on same page, it is easy to build one system for all,
    • use same configure tool to auto configure each user setting
    • use shared network drive to run same app
    • use centralized library to run all tools
  • bad situation: when there is more than 1 team working on more than 1 type of projects
    • when configure need to different to fit different team need
    • and when configure need to be switched when switching between projects due to nature of code dependency and nature of compability
  • not all languages is version back compatible
    • Python 2 and Python 3, Qt4 and Qt5 are already quite compatible in some way with some standard coding stlye to fit 2×2 combination
    • but in web development, some library change dramatically to improve efficiency and so are some game projects required some old assets to maintain.
    • so more and more situations happen in real life in a less standardized and diversed task-oriented world.
    • so Docker is the solution to let use pack versions of thing is a container to ship a all-in-one package like XAMPP (apache,sql,php ready to run pack), and much more than it (which allows multi-version run at same time)
  • disadvantage of container
    • duplicate of same things may happen in so many containers
    • sacrifice a bit of disk space for easy install and easy remove like portable app
  • devwiki/docker.1663053266.txt.gz
  • Last modified: 2022/09/13 07:14
  • by ying