Docker镜像的内部结构(四)
熟悉Docker镜像内部结构
一、base镜像
root@ubuntu:~# docker pull centos
Using default tag: latest
latest: Pulling from library/centos
d9aaf4d82f24: Pull complete
Digest: sha256:4565fe2dd7f4770e825d4bd9c761a81b26e49cc9e3c9631c58cfc3188be9505a
Status: Downloaded newer image for centos:latestroot@ubuntu:~# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
centos latest d123f4e55e12 3 weeks ago 197MB
ubuntu 12.04 5b117edd0b76 7 months ago 104MB
1、rootfs
2、base 镜像提供的是最小安装的 Linux 发行版。

3、支持运行多种 Linux OS

二、镜像的分层结构

可写的容器层

最后更新于