- Docker on Windows
- Elton Stoneman
- 164字
- 2021-07-02 12:47:55
Building a Docker image
Docker images are layered. The bottom layer is the operating system, which can be a full OS like Windows Server Core, or a minimal OS like Microsoft Nano Server. On top of this are layers for each change you make to the base OS when you build an image, by installing software, copying files, and running commands. Logically, Docker treats the image as a single unit, but physically each layer is stored as a separate file in Docker's cache, so images with a lot of common features can share layers from the cache.
Images are built using a text file with the Dockerfile language – specifying the base OS image to start with and all the steps to add on top. The language is very simple, and there are only a few commands you need to master in order to build production-grade images. I'll start by looking at the basic PowerShell image I've been using so far in this chapter.
- 無(wú)蘋果不生活 OS X Mountain Lion隨身寶典
- 嵌入式Linux驅(qū)動(dòng)程序和系統(tǒng)開發(fā)實(shí)例精講
- Microsoft Operations Management Suite Cookbook
- 巧學(xué)活用Windows 7
- 細(xì)說(shuō)Linux基礎(chǔ)知識(shí)
- OpenStack系統(tǒng)架構(gòu)設(shè)計(jì)實(shí)戰(zhàn)
- NetDevOps入門與實(shí)踐
- OpenSolaris設(shè)備驅(qū)動(dòng)原理與開發(fā)
- Linux操作系統(tǒng)
- iOS 10快速開發(fā):18天零基礎(chǔ)開發(fā)一個(gè)商業(yè)應(yīng)用
- Microsoft Hyper-V Cluster Design
- Windows 8玩全不求人
- PrimeFaces Beginner's Guide
- Game Data Analysis:Tools and Methods
- Red Hat Enterprise Linux 6.0系統(tǒng)管理