- Learning Windows Server Containers
- Srikanth Machiraju
- 173字
- 2021-07-02 23:23:20
Development life cycle
The Docker development life cycle can be explained with the help of the following steps:
- Docker container development starts with downloading a base image from Docker Hub. Ubuntu and Fedora are a few images available from Docker Hub. An application can be containerized post application development too. It is not necessary to always start with Dockerizing the application.
- The image is customized as per application requirement using a few Docker-specific instructions. These sets of instructions are stored in a file called Dockerfile. When deployed the Docker daemon reads the Dockerfile and prepares the final image.
- The image can then be published to a public/private repository.
- When users run the following command on any Docker host, the Docker daemon searches for images on the local machine first and then on Docker Hub if the images are not found locally. A Docker container is created if the image is found. Once the container is up and running, [command] is called on the running container:
$ docker run -i -t [imagename] [command]
推薦閱讀
- Red Hat Enterprise Linux 8系統(tǒng)管理實(shí)戰(zhàn)
- 發(fā)布!設(shè)計(jì)與部署穩(wěn)定的分布式系統(tǒng)(第2版)
- 從零開(kāi)始寫(xiě)Linux內(nèi)核:一書(shū)學(xué)透核心原理與實(shí)現(xiàn)
- 蘋(píng)果電腦玩全攻略 OS X 10.8 Mountain Lion
- Kubernetes網(wǎng)絡(luò)權(quán)威指南:基礎(chǔ)、原理與實(shí)踐
- Windows Phone 7.5 Data Cookbook
- 高性能Linux服務(wù)器構(gòu)建實(shí)戰(zhàn):運(yùn)維監(jiān)控、性能調(diào)優(yōu)與集群應(yīng)用
- Linux Shell編程從入門(mén)到精通(第2版)
- Windows Phone應(yīng)用程序開(kāi)發(fā)
- Joomla! 3 Template Essentials
- Drupal 7 Cookbook
- Android應(yīng)用性能優(yōu)化最佳實(shí)踐
- 鴻蒙HarmonyOS應(yīng)用開(kāi)發(fā)入門(mén)
- Implementing Domain-Specific Languages with Xtext and Xtend(Second Edition)
- Docker for Developers