本文共 1149 字,大约阅读时间需要 3 分钟。
docker删除映像
A image is a template for a container.
映像是容器的模板 。
Everything starts from a Docker image.
一切都从Docker映像开始。
When you tell Docker to create a container from an image using docker run
, it will perform its magic (create the file system, initialize the dependencies, and more) and then the container will be created.
当您告诉Docker使用docker run
从映像创建容器时,它将执行其魔术作用(创建文件系统,初始化依赖关系等),然后将创建容器。
Images are built from a Dockerfile using the docker build
command, and they can be stored locally, or published in a Docker registry like Docker Hub, where you can store public and private images.
镜像是使用docker docker build
命令从Dockerfile docker build
,它们可以存储在本地,也可以发布在Docker Hub之类的Docker注册表中,您可以在其中存储公共和私有图像。
If you visit you will see a lot of images you can freely use without having to create your own images.
如果您访问您将看到很多可以自由使用的图像,而无需创建自己的图像。
Often times those images are official and made by the development teams behind a specific technology.
通常,这些图像是官方的,并由特定技术背后的开发团队制作。
For example this is the official Node.js Docker Image: .
例如,这是官方的Node.js Docker映像: : 。
We’ll talk more about how to use images and containers soon.
我们将很快讨论更多有关如何使用图像和容器的信息。
翻译自:
docker删除映像
转载地址:http://sxmgb.baihongyu.com/