Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between docker pull and docker image pull commands?

Tags:

docker

As of now, I am learning Docker. This reference has mentioned two ways of pulling an image from the Docker registry. Can anyone explain this in simple terms?

Does this mean that we cannot get updates on a pulled image if we use docker image pull command?

like image 578
xcxc0 Avatar asked Jul 15 '26 05:07

xcxc0


1 Answers

They are the same command. From the documentation you linked:

To download a particular image, or set of images (i.e., a repository), use docker image pull (or the docker pull shorthand).

There are many "shortand commands" like:

  • docker push for docker image push
  • docker run for docker container run
  • ...
like image 119
AymDev Avatar answered Jul 17 '26 20:07

AymDev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!