- 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.
- 操作系統實用教程(Linux版)
- Kubernetes修煉手冊
- Getting Started with oVirt 3.3
- Windows Server 2012 Hyper-V:Deploying the Hyper-V Enterprise Server Virtualization Platform
- Modern Web Testing with TestCafe
- Linux Mint Essentials
- FreeRTOS實時內核應用指南
- vSphere Virtual Machine Management
- Ubuntu Linux操作系統
- Windows Phone應用程序開發
- 注冊表應用完全DIY
- INSTANT Migration from Windows Server 2008 and 2008 R2 to 2012 How-to
- Kali Linux高級滲透測試(原書第3版)
- Windows Vista終極技巧金典
- Windows Server 2008組網技術與實訓(第3版)