What is the difference between node:lts-alpine3.14 and node:lts-alpine? which one should I use for node backend APIs?
I want to use one of the images for my Node backend APIs with the following: Express Mongo
CodePudding user response:
There is no difference. They're two tags for the same image.
What you want to consider is what you want to happen when 3.15 gets released. If you want to stay on 3.14, you should use node:lts-alpine3.14
. If you want to move to 3.15 (or whatever the next release is), you should use node:lts-alpine
.
To verify that they're the same image, you can go to https://hub.docker.com/_/node?tab=tags&page=1&name=lts-alpine and check that the digest values for the two tags are the same.