Docker 笔记

2020-05-07  工具  ,  1,446

Base Image 如何选择?

写 Dockerfile 的时候,应该如何选择 FROM image 中的这个 image?

  • alpine
  • scratch
  • debian
  • centos
  • ubuntu

A Comparison Of Linux Container Images

Benchmarking Debian vs Alpine as a Base Docker Image

Create the smallest and secured golang docker image based on scratch

If you are compiling go binaries then just use scratch for the absolute smallest docker image possible.

看完这几篇文章自己决定吧。

欢迎留言>_<

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据