- Docker on Windows
- Elton Stoneman
- 206字
- 2021-07-02 19:53:15
The Docker service and Docker command-line
Docker runs as a background Windows service. This service manages all the running containers and exposes a REST API for consumers to work with containers and other Docker resources. The main consumer of that API is the Docker command-line tool, 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, 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 should also include encryption, so your connection is secure--and in this chapter, I will show you an easy way to configure that.
When you have Docker running, you'll start by running containers from images.
- 深度實踐OpenStack:基于Python的OpenStack組件開發
- Docker技術入門與實戰(第3版)
- PostgreSQL技術內幕:事務處理深度探索
- 算法大爆炸:面試通關步步為營
- 編寫整潔的Python代碼(第2版)
- FFmpeg入門詳解:音視頻原理及應用
- Java程序員面試筆試寶典(第2版)
- CRYENGINE Game Development Blueprints
- 青少年學Python(第2冊)
- 計算機應用基礎(第二版)
- 3D Printing Designs:Octopus Pencil Holder
- SQL Server 2014 Development Essentials
- LabVIEW數據采集(第2版)
- Server Side development with Node.js and Koa.js Quick Start Guide
- Java語言GUI程序設計