• Bilal Malik

How to pull specific version of docker image

It is very easy! first, we need to find the docker image and their available tags in docker hub. After that, we can pull the image with the version by using the below command.

The formula to pull the specific version

docker pull image-name:tag-name

For ubuntu latest version

docker pull ubuntu

For ubuntu 16.04 version

docker pull ubuntu:16.04

For ubuntu 18.04 version

docker pull ubuntu:18.04

2 views

Recent Posts

See All

Useful docker commands

To see the list of images docker images To see the list of running containers docker ps To see the list of all containers (both running and stopped containers) docker ps -a Remove(Delete) Image docker

Useful docker commands

To see the list of images docker images To see the list of running containers docker ps To see the list of all containers (both running and stopped containers) docker ps -a Remove(Delete) Image docker

Run docker command without sudo

If you need to run docker command without sudo, then you need to add your user into docker group. Create the docker group. $ sudo groupadd docker Add your user to the docker group. $ sudo usermod -aG

©2020 by Bilal Usean. Proudly created with Wix.com