官术网_书友最值得收藏!

  • 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.

主站蜘蛛池模板: 法库县| 山西省| 赣州市| 朝阳县| 柯坪县| 两当县| 克拉玛依市| 佳木斯市| 平阳县| 丰县| 新绛县| 岳普湖县| 奇台县| 孟州市| 北宁市| 尖扎县| 花莲市| 新龙县| 阳谷县| 农安县| 攀枝花市| 白山市| 丰都县| 饶阳县| 常山县| 茂名市| 隆林| 宁城县| 沙洋县| 汤阴县| 明星| 西青区| 天台县| 合肥市| 桂阳县| 广灵县| 扬中市| 公主岭市| 江永县| 孝感市| 江阴市|