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

  • Docker on Windows
  • Elton Stoneman
  • 235字
  • 2021-07-02 19:53:18

Packaging and Running Applications as Docker Containers

Docker reduces the logical view of your infrastructure to three core components: hosts, containers, and images. Hosts run containers, which are isolated instances of an application. Containers are created from images, which are packaged applications. The Docker container image is conceptually very simple - it's a single unit that contains a complete, self-contained application. The image format is very efficient, and the integration between the image and the runtime is very smart, so mastering images is your first step to using Docker effectively.

You've already seen some images in Chapter 1, Getting Started with Docker on Windows, by running some basic containers to check your Docker installation was working correctly - but I didn't look very closely at the image or how Docker used it. In this chapter, you'll get a thorough understanding of Docker images: learning how they're structured, understanding how Docker uses them, and looking at how to package your own applications as Docker images.

The first thing to understand is the difference between an image and a container, which you can see very clearly by running different types of container from the same image.

In this chapter, you'll get a lot of experience of the Docker basics:

  • Running containers from images
  • Building images from Dockerfiles
  • Packaging your own applications as Docker images
  • Working with data in images and containers
  • Packaging legacy ASP.NET web apps as Docker images
主站蜘蛛池模板: 黄平县| 宝应县| 梧州市| 沁水县| 桐柏县| 蓝山县| 比如县| 九寨沟县| 林周县| 剑川县| 天门市| 湖南省| 武夷山市| 睢宁县| 富阳市| 凌源市| 广宗县| 广州市| 吴旗县| 宜城市| 上栗县| 连州市| 朝阳县| 甘洛县| 荣成市| 嘉峪关市| 昭觉县| 桑日县| 邯郸县| 太和县| 桐梓县| 和硕县| 赣州市| 新宾| 泰顺县| 新巴尔虎右旗| 广安市| 集贤县| 梨树县| 屏南县| 和政县|