- Docker on Windows
- Elton Stoneman
- 218字
- 2021-07-02 12:47:52
The Docker Engine and Docker command-line
Docker runs as a background Windows service. This service manages every running container – it's called the Docker Engine. The engine exposes a REST API for consumers to work with containers and other Docker resources. The main consumer of this API is the Docker command-line tool (CLI), which is what I use for most of the code samples in this book.
The Docker REST API is public, and there are alternative management tools that are powered by the API, including web UIs like Portainer (which is open source), and Docker Universal Control Plane (UCP) (which is a commercial product). The Docker CLI is very simple to use - you use commands like docker container run to run an application in a container and docker container rm to remove a container.
You can also configure the Docker API to be remotely accessible and configure your Docker CLI to connect to a remote service. This means you can manage a Docker host running in the cloud using Docker commands on your laptop. The setup to allow remote access can also include encryption, so your connection is secure – and in this chapter, I will show you an easy way to configure this.
Once you have Docker running, you'll start by running containers from images.
- Linux網(wǎng)絡(luò)操作系統(tǒng)與實(shí)訓(xùn)(第三版)
- 無蘋果不生活 OS X Mountain Lion隨身寶典
- 蘋果電腦玩全攻略 OS X 10.8 Mountain Lion
- Linux系統(tǒng)安全基礎(chǔ):二進(jìn)制代碼安全性分析基礎(chǔ)與實(shí)踐
- Kali Linux高級(jí)滲透測試
- Linux設(shè)備驅(qū)動(dòng)開發(fā)
- Linux系統(tǒng)最佳實(shí)踐工具:命令行技術(shù)
- 鴻蒙HarmonyOS手機(jī)應(yīng)用開發(fā)實(shí)戰(zhàn)
- Linux內(nèi)核分析及應(yīng)用
- Linux內(nèi)核修煉之道
- Java EE 8 High Performance
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)(Windows 7+Office 2010)
- 大規(guī)模Linux集群架構(gòu)最佳實(shí)踐:如何管理上千臺(tái)服務(wù)器
- OpenSolaris紅寶書
- 樹莓派+傳感器:創(chuàng)建智能交互項(xiàng)目的實(shí)用方法、工具及最佳實(shí)踐