Docker的images和container啥关系
我看过一些文章,还是有一些疑问
Docker images
A Docker image is a read-only template. For example, an image could contain an Ubuntu operating system with Apache
and your web application installed. Images are used to create Docker containers. Docker provides a simple way to
build new images or update existing images, or you can download Docker images that other people have already
created. Docker images are the build component of Docker.
Docker Registries
Docker registries hold images. These are public or private stores from which you upload or download images. The
public Docker registry is called Docker Hub. It provides a huge collection of existing images for your use. These
can be images you create yourself or you can use images that others have previously created. Docker registries are
the distribution component of Docker.
Docker containers
Docker containers are similar to a directory. A Docker container holds everything that is needed for an application
to run. Each container is created from a Docker image. Docker containers can be run, started, stopped, moved, and
deleted. Each container is an isolated and secure application platform. Docker containers are the run component of
Docker.
images安装了我的app,但是它是readonly的,那我要update app是怎么做的?
container 相当于一个我app的dependency,而container 又是通过image创建的,这些是啥关系?
对这些概览比较模糊,希望大侠能够帮助讲解一下
该问题来自CSDN Docker技术交流群(303806405),由版主xinshubiao整理。