docker镜像里的tag那些事--alpine,slim,stretch,jessie

https://*.com/questions/54954187/docker-images-types-slim-vs-slim-stretch-vs-stretch-vs-alpine

这里有详细说明:

Per docker library docs (quote and links below), here's a summary:

  • openjdk:<version>

The defacto image. Use it if unsure.

  • openjdk:<version>-stretch and openjdk:<version>-jessie

jessie or stretch are the suite code names for releases of Debian and indicate which release the image is based on.

  • openjdk:<version>-alpine

Similarly, this image is based on the Alpine Linux, thus being a very small base image. It is recommended if you need an image size is as small as possible. The caveat is that it uses some unusual libs, but shouldn't be a problem for most software. In doubt, check the official docs below.

  • openjdk:<version>-slim

This image only contains the minimal packages needed to run Java (and is missing many of the UI-related Java libraries, for instance). Unless you are working in an environment where only the openjdk image will be deployed and you have space constraints, the default image is recommended over this one.

  • openjdk:<version>-windowsservercore

This image is based on Windows Server Core (microsoft/windowsservercore).

 

上一篇:iOS 运行 Alpine Linux


下一篇:轻量级Alpine Linux版本配置使用技巧一展