Skip to Content
Python算法交易
book

Python算法交易

by Yves Hilpisch
November 2022
Intermediate to advanced
392 pages
10h 8m
Chinese
China Electric Power Press Ltd.
Content preview from Python算法交易
44
|
第
2
章
就我们的目的而言,可以将
Docker
容器视为一个独立的(“容器化的”)文件系统,
其中包括操作系统(例如,一个服务器版的
Ubuntu 20.04 LTS
),一个(
Python
)
运行时环境,附加系统和开发工具,以及进一步的一些(
Python
)库和程序包。这
样的一个
Docker
容器可以运行在
Windows 10 Professional 64
位的本地计算机上,
也可以运行在
Linux
操作系统的云实例上。
本节将深入介绍
Docker
容器中激动人心的细节,简要说明
Docker
技术在
Python
部
署的用途。
注
5
2.3.1 Docker
镜像和容器
在继续解释之前,需要区分两个
Docker
基本术语。第一个是
Docker
镜像,可以将
其与
Python
类进行比较。第二个是
Docker
容器,可以将其与相应
Python
类的实例
进行比较。
从更技术的层面上,你将在
Docker
词汇表(
https://oreil.ly/NNUiB
)中找到以下有
关
Docker
镜像的定义:
Docker
镜像是容器的基础。镜像是根文件系统更改和容器运行时使用的执行参
数的有序集合。镜像通常包含一个堆叠在一起的分层文件系统的并集。镜像没
有状态,并且永远不会改变。
类似地,你将在
Docker
词汇表(
https://oreil.ly/NNUiB
)中找到
Docker
容器的以下
定义,该定义使得对
Python
类和类实例的对比变得更浅显易懂:
一个容器是一个
Docker
镜像的运行时实例。
一个
Docker
容器由以下部分组成:
•
一个 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

人工智能技术与大数据

人工智能技术与大数据

Posts & Telecom Press, Anand Deshpande, Manish Kumar
图解大模型 : 生成式AI 原理与实战

图解大模型 : 生成式AI 原理与实战

Jay Alammar, Maarten Grootendorst

Publisher Resources

ISBN: 9787519869694