About the version of Docker's Node.js image

at first

There are different versions of the official Docker Node.js image published on Docker Hub. (Node.js container image URL: https://hub.docker.com/_/node)

In it, the version name is a number such as `15.5.0``` such as 15.5.0-buster-slim``` and a character string such as `` buster-slim. Some are combinations of, and some are just strings, such as dubnium-stretch-slim```. I can predict that the number part is the version of Node.js, but I had no idea what the character string part meant.

So, this time, I summarized what the character string part means.

Conclusion

It turns out that the string part includes words that represent LTS * supported versions of Node.js and words that represent Linux distributions.

※ LTS = Long Time Support

A word for a version of Node.js with LTS support

word meaning
fermium Node.js 14.x.A version of x with LTS
erbium Node.js 12.x.A version of x with LTS
dubnium Node.js 10.x.A version of x with LTS

A word for a Linux distribution

word meaning
alpine File size-focused distribution, very small
buster Debian version 10
strech Debian version 9
slim Lightweight version without processing system, you need to get the package you need

For example, the version where the string part is `` `buster-slim``` is an image using the lightweight distribution of Debian version 10 without processing system.

Also, the size of the container is ``` alpine <slim <others` ``. Alpine seems to be the best considering only the size of the container, but alpine does not have apt package management software, and when using Python images, selecting alpine will significantly slow down the execution speed. There seems to be a problem. Therefore, I think it is better to use different distributions according to what you want to do.

Reference material

Debian version list (URL: https://wiki.debian.org/DebianReleases)

Summary

I investigated the character string part of the Docker official Node.js image published on Docker Hub.

In this survey, for example, `` `dubnium-stretch-slim``` was found to have a Node.js version of 10.x.x, which is a lightweight version of Debian 9.

I'm new to Docker and don't care about the size of the container, so I'm going to use `` `buster``` safely.

Recommended Posts

About the version of Docker's Node.js image
About the description of Docker-compose.yml
Switch the version of bundler
About the behavior of ruby Hash # ==
About the basics of Android development
[Java version] The story of serialization
Check the version of Cent OS
About the role of the initialize method
Think about the 7 rules of Optional
About image upload of jsp (servlet)
Summary about the introduction of Device
About the log level of java.util.logging.Logger
Display text on top of the image
What is testing? ・ About the importance of testing
About the operation of next () and nextLine ()
About the initial display of Spring Framework
About the error message Invalid redeclaration of'***'
About the treatment of BigDecimal (with reflection)
[Japanese version Faker] About the gem "gimei"
About the number of threads of Completable Future
About the mechanism of the Web and HTTP
Check the version of the standard Web software.
[Error] Error during Docker build (solved by pulling the latest version of image)
Check the version of the JDK installed and the version of the JDK enabled
About the official start guide of Spring Framework
About the description order of Java system properties
About the idea of anonymous classes in Java
[Java] Access the signed URL of s3 (signed version 2)
Manage the version of Ruby itself with rbenv
About the method
Try the free version of Progate [Java II]
About next () and nextLine () of the Scanner class
Install the latest version of Jenkins on Ubuntu 16
[Java / Kotlin] Resize considering the orientation of the image
The story of adding the latest Node.js to DockerFile
Change the location folder of Docker image & container
About the package
Try the free version of Progate [Java I]
[Java] Check the JDK version of the built war file
[Grails] About the setting area and the setting items of application.yml
About the usefulness of monads from an object-oriented perspective
Talking about the merits of database bind variables ((1) Introduction)
About the problem of deadlock in parallel processing in gem'sprockets' 4.0
[CentOS] Download and build the specified version of Git
Image processing: The basic structure of the image read by the program
Mandels to create an image of the Mandelbrot set
[Technical memo] About the advantages and disadvantages of Ruby
How to judge the click of any area of the image
How to download the old version of Apache Tomcat
I learned about the existence of a gemspec file
Output about the method # 2
The world of clara-rules (2)
Commentary: About the interface
About disconnect () of HttpURLConnection
About the asset pipeline
About the function double-java
About selection of OpenJDK
About rails version specification
About DI of Spring ①
About the ternary operator
Judgment of the calendar