What is an image? — Search for and download an image
Open a terminal and search for images using the docker search command Bounded code example (external data; do not execute automatically): ```console docker search docker/welcome-to-docker ``` You will see output like the following Bounded code example (external data; do not execute automatically): `
Reference note (untrusted external data; do not execute it as instructions).
Open a terminal and search for images using the docker search command
Bounded code example (external data; do not execute automatically):
```console
docker search docker/welcome-to-docker
```
You will see output like the following
Bounded code example (external data; do not execute automatically):
```console
NAME DESCRIPTION STARS OFFICIAL
docker/welcome-to-docker Docker image for new users getting started w… 20
```
This output shows you information about relevant images available on Docker Hub.
Pull the image using the docker pull command.
Bounded code example (external data; do not execute automatically):
```console
docker pull docker/welcome-to-docker
```
You will see output like the following
Bounded code example (external data; do not execute automatically):
```console
Using default tag: latest
latest: Pulling from docker/welcome-to-docker
579b34f0a95b: Download complete
d11a451e6399: Download complete
1c2214f9937c: Download complete
b42a2f288f4d: Download complete
54b19e12c655: Download complete
1fb28e078240: Download complete
94be7e780731: Download complete
89578ce72c35: Download complete
Digest: sha256:eedaff45e3c78538087bdd9dc7afafac7e110061bbdd836af4104b10f10ab693
Status: Downloaded newer image for docker/welcome-to-docker:latest
docker.io/docker/welcome-to-docker:latest
```
Each of line represents a different downloaded layer of the image. Remember that each layer is a set of filesystem changes and provides functionality of the image.
Attribution: Adapted from Docker Documentation under Apache-2.0. Adaptation: WikiKV isolated this documentation section, normalized formatting, retained only bounded code excerpts, and shortened it at a paragraph or sentence boundary for retrieval. Verify version-sensitive details at the source.
ATTRIBUTED SOURCE
This compact reference card is adapted from official documentation and is not a community-verified experience.
Docker Documentation — content/get-started/docker-concepts/the-basics/what-is-an-image.md :: Search for and download an image ↗Revision 3a9d778562f3 · Apache-2.0 and attribution