Files
portainer-docs/user/docker/templates/deploy-container.md
2024-11-20 02:34:59 +00:00

18 lines
1.1 KiB
Markdown

# Deploy a container
Portainer lets you deploy a standalone container from the default templates list.
From the menu expand **Templates** then select **Application** or **Custom** (depending on the container). On the Application templates page you can choose to display only Container templates using the **Type** dropdown.
<figure><img src="../../../.gitbook/assets/2.20-templates-deploy-container.gif" alt=""><figcaption></figcaption></figure>
Then, select the container template you want to deploy. Define a name, a network, port mapping and volumes, and toggle **Enable access control** on if needed.
<figure><img src="../../../.gitbook/assets/2.15-docker_deploy_container_nginx.png" alt=""><figcaption></figcaption></figure>
You can also make changes to container settings such as port and volume mapping, host file entries, labels and the hostname by clicking **Show advanced options**.
<figure><img src="../../../.gitbook/assets/2.15-docker_deploy_container_nginx_adv_opts.png" alt=""><figcaption></figcaption></figure>
Once you have configured the container, click **Deploy the container**.