- 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]
推薦閱讀
- Citrix XenApp Performance Essentials
- Linux從零開始學(視頻教學版)
- 操作系統基礎與實踐:基于openEuler平臺
- Windows Phone 7.5 Data Cookbook
- SharePoint 2013 WCM Advanced Cookbook
- PLC控制系統應用與維護
- Windows Server 2012 Hyper-V Cookbook
- Windows 7案例教程
- 無蘋果不生活 The New iPad隨身寶典
- 跟老男孩學Linux運維:Shell編程實戰
- HTML5 Enterprise Application Development
- Learning BeagleBone
- Linux內核分析及應用
- Implementing Cloud Design Patterns for AWS(Second Edition)
- Hadoop Operations and Cluster Management Cookbook