- 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.
- 自然語(yǔ)言處理實(shí)戰(zhàn):預(yù)訓(xùn)練模型應(yīng)用及其產(chǎn)品化
- Progressive Web Apps with React
- Python數(shù)據(jù)分析入門與實(shí)戰(zhàn)
- PHP 7底層設(shè)計(jì)與源碼實(shí)現(xiàn)
- 信息可視化的藝術(shù):信息可視化在英國(guó)
- Reactive Android Programming
- Building RESTful Python Web Services
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)實(shí)踐教程
- Python全棧數(shù)據(jù)工程師養(yǎng)成攻略(視頻講解版)
- Citrix XenServer企業(yè)運(yùn)維實(shí)戰(zhàn)
- Vue.js 3應(yīng)用開(kāi)發(fā)與核心源碼解析
- 現(xiàn)代C:概念剖析和編程實(shí)踐
- Three.js權(quán)威指南:在網(wǎng)頁(yè)上創(chuàng)建3D圖形和動(dòng)畫的方法與實(shí)踐(原書第4版)
- 軟件再工程:優(yōu)化現(xiàn)有軟件系統(tǒng)的方法與最佳實(shí)踐
- R語(yǔ)言數(shù)據(jù)分析從入門到實(shí)戰(zhàn)