- Docker on Windows
- Elton Stoneman
- 163字
- 2021-07-02 19:53:18
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 that 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.
- SQL Server 從入門到項目實踐(超值版)
- JavaScript語言精髓與編程實踐(第3版)
- Java高手真經(高級編程卷):Java Web高級開發技術
- 假如C語言是我發明的:講給孩子聽的大師編程課
- Extending Puppet(Second Edition)
- Java程序員面試筆試寶典(第2版)
- Modern C++ Programming Cookbook
- Emotional Intelligence for IT Professionals
- Python Machine Learning Cookbook
- 征服C指針(第2版)
- JavaScript程序設計實例教程(第2版)
- Python算法交易實戰
- Swift 5從零到精通iOS開發訓練營
- Visual C++.NET(2008)典型案例
- Abaqus GUI程序開發指南(Python語言)