search

Home  >  Q&A  >  body text

请问你们是怎么把docker应用在实际项目中的呢

请问你们是怎么把docker应用在实际项目中的呢,如果有二十台云服务器的话,每台服务器上运行一个或者若干docker,docker里面有web应用,如果应用更新的话,怎么推送到这二十台服务器呢

伊谢尔伦伊谢尔伦2778 days ago597

reply all(3)I'll reply

  • 迷茫

    迷茫2017-04-21 11:17:56

    The web application is on GitHub and automatically deployed using Jenkins. After updating on github, Jenkins starts, pulls the code to the docker image, then pushes it to docker hub, then pulls the new image on twenty machines, then starts the new container and closes the old container.

    This is the deployment method of web application. If docker is a database, it is another matter.

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-21 11:17:56

    Typical application scenarios of Docker https://blog.nicescale.com/docker-use-cases/ You can learn about csphere https://csphere.cn/

    reply
    0
  • PHP中文网

    PHP中文网2017-04-21 11:17:56

    Docker is usually used in the following scenarios:
     Automated packaging and release of web applications;
     Automated testing, continuous integration, and release;
     Deployment and adjustment of databases or other back-end applications in service-based environments;
     Compile from scratch or Extend existing OpenShift or Cloud Foundry platforms to build your own PaaS environment.

    reply
    0
  • Cancelreply