- Mastering Docker Enterprise
- Mark Panthofer
- 103字
- 2021-07-02 12:30:14
Containerizing and locally testing each application component
A best practice is to build Docker images using something called Dockerfiles. Dockerfile is a text file containing commands to build a Docker image layer by layer, starting with a base image. Our goal for the section will be to create two separate Dockerfiles. One Dockerfile is for the application and the other Dockerfile is for the database. Please note, Dockerfile default naming has no file extension by convention. So, be careful of text editors appending your Dockerfile with a .txt extension. If you are not familiar with Dockerfiles, please take minute to read this: https://docs.docker.com/engine/reference/builder/.
推薦閱讀
- Hands-On Intelligent Agents with OpenAI Gym
- 計(jì)算機(jī)應(yīng)用復(fù)習(xí)與練習(xí)
- 嵌入式Linux上的C語(yǔ)言編程實(shí)踐
- Mastering Machine Learning Algorithms
- SharePoint 2010開(kāi)發(fā)最佳實(shí)踐
- AutoCAD 2012中文版繪圖設(shè)計(jì)高手速成
- Visual FoxPro程序設(shè)計(jì)
- 學(xué)練一本通:51單片機(jī)應(yīng)用技術(shù)
- 重估:人工智能與賦能社會(huì)
- 漢字錄入技能訓(xùn)練
- 伺服與運(yùn)動(dòng)控制系統(tǒng)設(shè)計(jì)
- 基于Quartus Ⅱ的數(shù)字系統(tǒng)Verilog HDL設(shè)計(jì)實(shí)例詳解
- 工業(yè)機(jī)器人應(yīng)用系統(tǒng)三維建模
- Flink內(nèi)核原理與實(shí)現(xiàn)
- Cisco UCS Cookbook