mirror of
https://github.com/portainer/portainer-docs.git
synced 2026-03-27 12:58:32 +07:00
18 lines
1.1 KiB
Markdown
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**.
|