What is the correct Docker tag used to download or pull a specific version of software from Docker Hub repositories?
Docker - RUN - Tag
Let's say I need to run or pull redis server from docker repositories, my simple commands will be:
docker run redis
When we are requesting to the docker hub for repositories without motioning the tag or specific version it will automatically download the latest one.
Suppose the latest version is now: 7.4.2, but I wants to download the specific version like: 6.2.17 for this I need to add the tag as version number.
docker pull redis:6.2.17
Now I learnt the use of docker tag and will be able to download any specific docker image from docker hub as I required.
Comments
Post a Comment