# Images

Images are what is used to build containers. Each image defines the pieces required to build and configure a container and can be reused many times. The **Images** section in Portainer lets you interact with the images in an environment.

<figure><img src="/files/h9Nd4x0JOyEgYuPDG17U" alt=""><figcaption></figcaption></figure>

You can pull images from Docker Hub or any other [registry](/admin/registries/add.md):

{% content-ref url="/pages/-MhuWfJo1EepuXnb5TXs" %}
[Pull an image](/user/docker/images/pull.md)
{% endcontent-ref %}

You can also view a list of the images that are currently available in an environment, including their IDs, usage states, tags, sizes and creation dates. There are many other options available:

{% content-ref url="/pages/-MhuZcAkEsEnGJ-4S150" %}
[Build a new image](/user/docker/images/build.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MhuZOq1zyCwH8V0e1d4" %}
[Import an image](/user/docker/images/import.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MhuZXvqVu9MvagSdAdD" %}
[Export an image](/user/docker/images/export.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.portainer.io/user/docker/images.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
