- 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.
- Cocos2d-x游戲開發:手把手教你Lua語言的編程方法
- Windows系統管理與服務配置
- 深入淺出Prometheus:原理、應用、源碼與拓展詳解
- 軟件測試工程師面試秘籍
- Cocos2d-x學習筆記:完全掌握Lua API與游戲項目開發 (未來書庫)
- HTML5與CSS3基礎教程(第8版)
- Java網絡編程核心技術詳解(視頻微課版)
- 基于SpringBoot實現:Java分布式中間件開發入門與實戰
- GameMaker Essentials
- Programming Microsoft Dynamics? NAV 2015
- FFmpeg開發實戰:從零基礎到短視頻上線
- Python計算機視覺和自然語言處理
- 深入理解BootLoader
- Windows Phone 8 Game Development
- Android系統下Java編程詳解