node的docker镜像jessie\tretch\chakracore等各版本分别是什么意思?

node的docker镜像jessiealpineonbuildslimstretchchakracore分别是什么意思?

https://img4.mukewang.com/5c15f7a00001489708000559.jpg

文档上介绍也不是很全https://hub.docker.com/_/node/

请大佬帮说一下,谢谢!


德玛西亚99
浏览 1807回答 1
1回答

慕斯王

简单说这些不同的tag表示基于不同的base image。页面下方说的很清楚了。Some of these tags may have names like jessie or stretch in them. These are the suite code names for releases of Debian and indicate which release the image is based on.Jessie stretch wheezy 都是 Debian 发行版本的代称。比如 Jessie 杰西, 是2015年发行的。wheezy 是 2013年发行的。alpine 和Debian 一样 都是Linux的发行版本,特点是非常小,只有5M。 小到连bash都没有,不过有类似的ash。这也是官方非常推荐的,适合作为基础镜像。带 slim 的就是瘦身版,如 Jessie-slim 。 只保留编译node时需要的依赖。至于为什么搞这么多基础镜像,有时候我们需要在特定的平台编译其他东西。满足一些项目的环境要求。简单总结:如果只想跑node,就用Alpine,因为它最轻量。
打开App,查看更多内容
随时随地看视频慕课网APP