- 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.
- iOS Game Programming Cookbook
- Advanced Quantitative Finance with C++
- Google Flutter Mobile Development Quick Start Guide
- Mastering QGIS
- C語(yǔ)言最佳實(shí)踐
- C/C++常用算法手冊(cè)(第3版)
- Practical Game Design
- HTML5 and CSS3 Transition,Transformation,and Animation
- Troubleshooting PostgreSQL
- QGIS Python Programming Cookbook(Second Edition)
- Orleans:構(gòu)建高性能分布式Actor服務(wù)
- Getting Started with Python
- C語(yǔ)言從入門到精通
- 精益軟件開發(fā)管理之道
- HikariCP數(shù)據(jù)庫(kù)連接池實(shí)戰(zhàn)