Main concepts
Docker hub is an online repository for Docker Image.
- as store our code in GitHub, we store our images in Docker hub
- it contains images that can be used as a first layer (parent layer) in our images (E.g., Node runtime)
How to download an image
[[[[Docker]]]] pull node : download the latest image of Node.js
[[[[Docker]]]] pull node 17-alpine : specify the Node.js version and the Linux distribution to use
Note
It is often recommended to specify the image version and the Linux distribution to make it clear and to fix it (otherwise the latest one will be used insted)