# Application

An application template lets you deploy a container (or a stack of containers) to an environment with a set of predetermined configuration values while still allowing you to customize the configuration (for example, environment variables). This page lists the application templates available to deploy on your environment.

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

Portainer supports templates of both individual containers and stacks of containers.

{% content-ref url="/pages/-Mhl-05evjqqTJZ30JDP" %}
[Deploy a stack](/user/docker/templates/deploy-stack.md)
{% endcontent-ref %}

{% content-ref url="/pages/-Mhl-XvwHHlFDsg2niAG" %}
[Deploy a container](/user/docker/templates/deploy-container.md)
{% endcontent-ref %}

By default, Portainer provides a pre-built set of app templates, but you are free to modify or [replace these with your own](/advanced/app-templates/build.md). You can also create your own custom templates either manually or from an existing stack.


---

# 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/templates/application.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.
