In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how to use docker to streamline the development process. Many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.
Docker technology is becoming more and more popular, and this week Xiyun shares with you the blog posts discussed by Jack Hopner and Jonathan Chow from the movio team-we will explore how to use Docker to simplify our development process.
One of our strategies is to split Moio's core applications into smaller, single-tasking microservices, which are used to solve the problems of complex coding and flexible selection of technologies. However, this micro-service-based approach raises other challenges, such as ensuring that the application's environment is configured correctly. To support this situation, we recommend using Docker as the core part of our infrastructure.
Docker allows you to package your application with a complete operating system environment and then run it in a software container. A software container is similar to a virtual machine, but closer to a machine. For example, the container is not pre-allocated to memory, but dynamically requests memory allocation from the host at run time.
Using containers means that things such as library dependencies can be preinstalled independently of the host system. Other dependencies such as configuration files can also be preset through sensible default files and placed in the desired location of the application. The end result: with Docker, we can provide a standardized environment for every application, that is, running on any system in the same way. Any libraries and packages you have installed on the host system are not important because the application does not interact with it.
For the development team, this is obviously a convenience:
If you have a microservice that needs to be integrated with a microservice maintained by another team, all you need to do is use docker to pull the microservice and run it in your local environment without worrying about other dependencies.
A major benefit is that this process faithfully repeats how these services interact and communicate in the production process. This gives us great confidence that we can say that our test results in the local environment will accurately reflect what will happen in the online environment.
Developers need to think about what applications running outside the development environment need. This reduces the problems caused by the outside world (the world outside the development environment). The "finished" product is as easy to use as expected, so they can "make it run" online.
Using mirroring also means that the tester's environment is standard and consistent with online products, which only requires them to install Docker. They don't have to put up with bad documentation about how to get the application to run them, and they can easily pull ready images and use them immediately.
When using Docker, it is undoubtedly slow, which is a normal initial learning curve, but taking everything into account, we find that Docker increases our development efficiency, and it usually takes several days for new members to join the team to set up a local environment, and this process is accompanied by a lot of environmental troubleshooting. With Docker, there is little need to rely on the local environment, and in most use cases, we can run Docker on the day it is introduced to our application.
After reading the above, do you have any further understanding of how to use docker to streamline the development process? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.