How to find out tag for using instead of latest?

Skip to first unread message


Feb 12, 2021, 11:53:45 AM2/12/21
to docker-dev
Beginning of my Dockerfile is
Now it is version which uses Ubuntu 20.04 with Powershell 7.1.2
How can I replace latest with some tag?
To freeze this image version in future: FROM
I need to continue using Ubuntu 20.04 with Powershell 7.1.2 when will have Ubuntu 21 and Powershell 8 for example.

Kevin Grimes

Feb 16, 2021, 7:16:58 PM2/16/21
to docker-dev
You can get a list of all the available tags for this image from Docker hub.

1. Head to
2. Search for "powershell"
3. Click on the one shipped by Microsoft (
4. Scroll down to "Full Tag Listing" and pick the one that meets your requirements

Sounds like the tag you want is 7.1.2-ubuntu-20.04.

Reply all
Reply to author
0 new messages