- 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]
推薦閱讀
- Getting Started with oVirt 3.3
- 每天5分鐘玩轉(zhuǎn)Kubernetes
- Mobile-first Bootstrap
- Learning Windows Server Containers
- Linux Mint Essentials
- 循序漸進(jìn)學(xué)Docker
- Extending Bootstrap
- Linux網(wǎng)絡(luò)內(nèi)核分析與開(kāi)發(fā)
- 嵌入式Linux應(yīng)用開(kāi)發(fā)菜鳥(niǎo)進(jìn)階
- 直播系統(tǒng)開(kāi)發(fā):基于Nginx與Nginx-rtmp-module
- Windows Server 2012網(wǎng)絡(luò)操作系統(tǒng)項(xiàng)目教程(第4版)
- jQuery UI Cookbook
- 分布式系統(tǒng)設(shè)計(jì)實(shí)踐
- Android應(yīng)用性能優(yōu)化最佳實(shí)踐
- Learning IBM Watson Analytics