Created guide for Docker pull command. (#18779)

* Created guide for Docker pull command.

* Updated subheading for consistency.

* Update index.md
pull/19307/merge
beawolf 2018-10-15 19:00:38 +03:00 committed by Jonathan Grah
parent ce521bf880
commit 222ebc2151
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
---
title: Docker pull
---
## Docker pull
`docker pull` downloads images from Docker Hub or other Docker registries.
For example, to download the latest nginx image, the command should be run like this:
```
docker pull nginx
```
This intrinsically assumes the image associated with `latest` tag. To download a specific version, the version info must be added to the image name with a colon:
```
docker pull nginx:1.15.5
```
Docker images can also be downloaded from registries other than Docker Hub by adding the registry address in front of image name:
```
docker pull myregistry.example.com/myapplicationimage
```
Or with a specific version:
```
docker pull myregistry.example.com/myapplicationimage:1.2.11
```
#### More Information:
- [Docker CLI docs: pull](https://docs.docker.com/engine/reference/commandline/pull/)