- 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.
- PyTorch自動駕駛視覺感知算法實戰
- 算法零基礎一本通(Python版)
- Learning Flask Framework
- Linux環境編程:從應用到內核
- Oracle BAM 11gR1 Handbook
- Corona SDK Mobile Game Development:Beginner's Guide(Second Edition)
- NGINX Cookbook
- Creating Stunning Dashboards with QlikView
- Android Studio Cookbook
- Mastering OAuth 2.0
- Python趣味創意編程
- Python實戰指南:手把手教你掌握300個精彩案例
- PHP程序設計經典300例
- 深度學習:基于Python語言和TensorFlow平臺(視頻講解版)
- Unity與C++網絡游戲開發實戰:基于VR、AI與分布式架構