{"id":834,"date":"2022-07-13T03:08:43","date_gmt":"2022-07-13T06:08:43","guid":{"rendered":"https:\/\/helpsysadmin.com.br\/blog\/how-to-install-portainer-for-docker-management-with-nginx-proxy-manager-on-ubuntu\/"},"modified":"2025-11-18T00:50:34","modified_gmt":"2025-11-18T03:50:34","slug":"install-portainer-for-docker-with-nginx-proxy-manager","status":"publish","type":"post","link":"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/","title":{"rendered":"How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu"},"content":{"rendered":"<div id=\"helps-3097272640\" class=\"helps-before-content-2 helps-entity-placement\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-3661896953164277\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<!-- 2anuncios display quadrado -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-3661896953164277\"\r\n     data-ad-slot=\"5051229894\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div>\n<p><a href=\"https:\/\/www.portainer.io\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Portainer<\/strong><\/a> is an open source container management solution for <a href=\"https:\/\/www.docker.com\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.docker.com\/\" rel=\"noreferrer noopener\"><strong>Docker<\/strong><\/a>, <a href=\"https:\/\/kubernetes.io\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Kubernetes<\/strong><\/a> and Nomad that makes it easy to start, build and run containers. Portainer provides a web-based control panel to manage containers, images, networks and volumes. It also includes a selection of templates (apps)<\/p>\n\n\n\n<p>In this tutorial, we will install and configure the portainer on a <a href=\"https:\/\/helpsysadmin.com.br\/blog\/como-instalar-crowdsec\/\" data-internallinksmanager029f6b8e52c=\"1\" title=\"Como instalar Crowdsec\" target=\"_blank\" rel=\"noopener\">Linux<\/a> server with Ubuntu 20.04 lts and use it to create and manage docker containers to run different applications. Let&#8217;s still learn how to put the Portainer behind the NGINX Reverse Proxy Proxy Manager.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1- Set the firewall<\/h2>\n\n\n\n<p>Make sure the firewall is active and enable if necessary.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>ufw status\nufw enable<\/pre><\/div>\n\n\n\n<p>Open ports 80, 443, 9443, 81, 22<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>ufw allow 80\nufw allow 443\nufw allow 9443\nufw allow 81\nufw allow 22<\/pre><\/div>\n\n\n\n<p>reload on firewall<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>ufw reload<\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-2-docker-installation\">2- Docker installation<\/h2>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>apt install ca-certificates curl gnupg lsb-release\ncurl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo gpg --dearmor -o \/usr\/share\/keyrings\/docker-archive-keyring.gpg\necho &quot;deb [arch=$(dpkg --print-architecture) signed-by=\/usr\/share\/keyrings\/docker-archive-keyring.gpg] https:\/\/download.docker.com\/linux\/ubuntu \\\n  $(lsb_release -cs) stable&quot; | sudo tee \/etc\/apt\/sources.list.d\/docker.list &gt; \/dev\/null\napt update\napt install docker-ce docker-ce-cli containerd.io -y<\/pre><\/div>\n\n\n\n<p>Enable the Docker service<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>systemctl start docker --now\n<\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>3 &#8211; Install the docker compose<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>curl -L https:\/\/github.com\/docker\/compose\/releases\/download\/v$(curl -Ls https:\/\/www.servercow.de\/docker-compose\/latest.php)\/docker-compose-$(uname -s)-$(uname -m) &gt; \/usr\/local\/bin\/docker-compose<\/pre><\/div>\n\n\n\n<p>Apply executable permission to the binary<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>chmod +x \/usr\/local\/bin\/docker-compose<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">3 &#8211; Portainer installation<\/h2>\n\n\n\n<p>Create a directory for the portainer and go to<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>mkdir ~\/portainer\ncd ~\/portainer<\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>Create the file below for Docker-Compose<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>nano docker-compose.yaml<\/pre><\/div>\n\n\n\n<p>Paste the code below in the file<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>version: &quot;3.3&quot;\nservices:\n    portainer:\n      image: portainer\/portainer-ce:latest\n      container_name: portainer\n      restart: always\n      privileged: true\n      volumes:\n        - .\/data:\/data:Z\n        - \/var\/run\/docker.sock:\/var\/run\/docker.sock:Z\n      ports:\n        - 9443:9443<\/pre><\/div>\n\n\n\n<p>Save the file by pressing Ctrl + X and typing y when requested.<\/p>\n\n\n\n<p>Start the portainer<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>docker-compose up -d<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">4 &#8211; Access and configure portainer<\/h2>\n\n\n\n<p>Open the URL https:<ipdoseuservidor>\/\/&lt;ip-your-server&gt;:9443<\/ipdoseuservidor><\/p>\n\n\n\n<p>You will see the following screen below. Create the Admin user, password and click &#8220;Create User&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-opt-id=1175179353  fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"621\" src=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:1024\/h:621\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_admin.jpg\" alt=\"\" class=\"wp-image-794\" srcset=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:1024\/h:621\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_admin.jpg 1024w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:300\/h:182\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_admin.jpg 300w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:768\/h:466\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_admin.jpg 768w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:920\/h:558\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_admin.jpg 920w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:230\/h:139\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_admin.jpg 230w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:350\/h:212\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_admin.jpg 350w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:480\/h:291\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_admin.jpg 480w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:1397\/h:847\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_admin.jpg 1397w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>You will be directed to the screen below. Click on the menu <strong>Home<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-opt-id=1986642986  fetchpriority=\"high\" decoding=\"async\" width=\"800\" height=\"478\" src=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_login.jpg\" alt=\"\" class=\"wp-image-798\" srcset=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:800\/h:478\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_login.jpg 800w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:300\/h:179\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_login.jpg 300w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:768\/h:459\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_login.jpg 768w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:230\/h:137\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_login.jpg 230w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:350\/h:209\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_login.jpg 350w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:480\/h:287\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_login.jpg 480w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>In Home you will see &#8220;local&#8221; in which the portainer is being executed. Click local to start.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-opt-id=25536486  data-opt-src=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_home.jpg\"  decoding=\"async\" width=\"800\" height=\"323\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20100%%20100%%22%20width%3D%22100%%22%20height%3D%22100%%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22100%%22%20height%3D%22100%%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" alt=\"\" class=\"wp-image-805\" old-srcset=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:800\/h:323\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_home.jpg 800w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:300\/h:121\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_home.jpg 300w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:768\/h:310\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_home.jpg 768w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:230\/h:93\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_home.jpg 230w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:350\/h:141\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_home.jpg 350w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:480\/h:194\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_home.jpg 480w\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-opt-id=235980360  data-opt-src=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_dashboard.jpg\"  decoding=\"async\" width=\"800\" height=\"373\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20100%%20100%%22%20width%3D%22100%%22%20height%3D%22100%%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22100%%22%20height%3D%22100%%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" alt=\"\" class=\"wp-image-809\" old-srcset=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:800\/h:373\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_dashboard.jpg 800w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:300\/h:140\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_dashboard.jpg 300w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:768\/h:358\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_dashboard.jpg 768w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:230\/h:107\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_dashboard.jpg 230w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:350\/h:163\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_dashboard.jpg 350w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:480\/h:224\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_dashboard.jpg 480w\" \/><\/figure>\n\n\n\n<p>Most sections are self-explanatory. Stacks helps you build containers using Docker composite files. You can deploy containers directly using the Containers in the sidebar. You can configure the current docker environment through Hosts . App Templates come with pre-installed Docker compose files to install the most common apps. You can also create custom templates or use a list of external Templates such as<a href=\"https:\/\/github.com\/Qballjos\/portainer_templates\" target=\"_blank\" rel=\"noreferrer noopener\">Templates App<\/a> . <\/p>\n\n\n\n<p>The Settings section allows you to configure various settings like add custom Docker registries, add multiple hosts for Docker swarm, configure user access, backup data, customize Portainer, Add new Template list.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">5 &#8211; Portainer behind a reverse proxy using Nginx Proxy Manager<\/h2>\n\n\n\n<p>We will need a subdomain pointing to the server IP. Ex portainer.dominio.xx .Nginx Proxy Manager is a Docker application that provides a web management UI for configuring Nginx as a reverse proxy host. It can also be used as a redirect or a streaming host.<\/p>\n\n\n\n<p><strong>Install NPM<\/strong><br>The first step is to create a network for the Nginx Proxy Manager (NPM). Open Networks and click the Add Network button to create a new network. Give it a name, keep the other fields unchanged. <\/p>\n\n\n\n<p>Click on Create the Network<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-opt-id=1112341097  data-opt-src=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/npm-network.jpg\"  decoding=\"async\" width=\"800\" height=\"363\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20100%%20100%%22%20width%3D%22100%%22%20height%3D%22100%%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22100%%22%20height%3D%22100%%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" alt=\"\" class=\"wp-image-815\" old-srcset=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:800\/h:363\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/npm-network.jpg 800w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:300\/h:136\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/npm-network.jpg 300w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:768\/h:348\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/npm-network.jpg 768w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:230\/h:104\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/npm-network.jpg 230w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:350\/h:159\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/npm-network.jpg 350w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:480\/h:218\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/npm-network.jpg 480w\" \/><\/figure>\n\n\n\n<p>Click on Stacks and create a new Stack using the Add Stack button with name nginx-proxy-manager<code>nginx-proxy-manager<\/code>. In Web Editor paste the code below:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>version: &quot;3.3&quot;\nservices:\n  npm-app:\n    image: 'jc21\/nginx-proxy-manager:latest'\n    container_name: npm-app\n    restart: unless-stopped\n    ports:\n      - '80:80' # Public HTTP Port\n      - '443:443' # Public HTTPS Port\n      - '81:81' # Admin Web Port\n      # Add any other Stream port you want to expose\n      # - '21:21' # FTP\n    environment:\n      DB_MYSQL_HOST: &quot;npm-db&quot;\n      DB_MYSQL_PORT: 3306\n      DB_MYSQL_USER: &quot;npm&quot;\n      DB_MYSQL_PASSWORD: ${DB_MYSQL_PASSWORD}\n      DB_MYSQL_NAME: &quot;npm&quot;\n      # Uncomment the line below if IPv6 is not enabled on your host\n      # DISABLE_IPV6: 'true'\n    volumes:\n      - .\/npm-data:\/data:Z\n      - .\/letsencrypt:\/etc\/letsencrypt:Z\n    depends_on:\n      - npm-db\n    networks:\n      - npm-network\n      - npm-internal\n\n  npm-db:\n    image: 'mariadb:latest'\n    container_name: npm-db\n    restart: unless-stopped\n    environment:\n      MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}\n      MYSQL_DATABASE: 'npm'\n      MYSQL_USER: 'npm'\n      MYSQL_PASSWORD: ${DB_MYSQL_PASSWORD}\n    volumes:\n      - .\/npm-data\/mysql:\/var\/lib\/mysql:Z\n    networks:\n      - npm-internal\n\nnetworks:\n  npm-internal:\n  npm-network:\n    external: true<\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-opt-id=377478451  data-opt-src=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:1024\/h:481\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/stacks.jpg\"  decoding=\"async\" width=\"1024\" height=\"481\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%201024%20481%22%20width%3D%221024%22%20height%3D%22481%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%221024%22%20height%3D%22481%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" alt=\"\" class=\"wp-image-817\" old-srcset=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:1024\/h:481\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/stacks.jpg 1024w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:300\/h:141\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/stacks.jpg 300w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:768\/h:361\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/stacks.jpg 768w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:1536\/h:722\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/stacks.jpg 1536w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:920\/h:432\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/stacks.jpg 920w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:230\/h:108\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/stacks.jpg 230w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:350\/h:164\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/stacks.jpg 350w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:480\/h:225\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/stacks.jpg 480w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:1867\/h:877\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/stacks.jpg 1867w\" \/><\/figure>\n\n\n\n<p>Let&#8217;s add 2 variables in this Stack, one for mysql user and one for mysql root. Scroll down the page and click the &#8220;Add an environment variable&#8221; button 2 times. <br>The first field fill with DB_MYSQL_PASSWORD and the front in value , define a secure password. <br>The second field fill with MYSQL_ROOT_PASSWORD and the front in value, define a secure password.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-opt-id=1732988687  data-opt-src=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/variable.jpg\"  decoding=\"async\" width=\"800\" height=\"379\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20100%%20100%%22%20width%3D%22100%%22%20height%3D%22100%%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22100%%22%20height%3D%22100%%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" alt=\"\" class=\"wp-image-819\" old-srcset=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:800\/h:379\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/variable.jpg 800w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:300\/h:142\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/variable.jpg 300w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:768\/h:364\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/variable.jpg 768w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:230\/h:109\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/variable.jpg 230w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:350\/h:166\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/variable.jpg 350w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:480\/h:227\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/variable.jpg 480w\" \/><\/figure>\n\n\n\n<p>Click <strong>Deploy the stack<\/strong> to create and start NPM Container.<\/p>\n\n\n\n<p>Open URL http:\/\/ &lt; serverip &gt; :81<br>User: <code>admin@example.com<\/code><br>Password: changeme<\/p>\n\n\n\n<p>After logging in, change your username and password for your security.<\/p>\n\n\n\n<p>In <strong>Nginx Proxy Manager<\/strong><\/p>\n\n\n\n<p>Visit <strong>Host &gt;&gt; Proxy Hosts<\/strong> and click the button<strong>Add Proxy Host<\/strong> . <br>At this point we will use the subdomain pointing to the ip of the server.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-opt-id=2107144537  data-opt-src=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/nginx_proxy_manager.jpg\"  decoding=\"async\" width=\"633\" height=\"698\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20100%%20100%%22%20width%3D%22100%%22%20height%3D%22100%%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22100%%22%20height%3D%22100%%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" alt=\"\" class=\"wp-image-821\" old-srcset=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:633\/h:698\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/nginx_proxy_manager.jpg 633w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:272\/h:300\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/nginx_proxy_manager.jpg 272w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:230\/h:254\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/nginx_proxy_manager.jpg 230w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:350\/h:386\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/nginx_proxy_manager.jpg 350w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:480\/h:529\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/nginx_proxy_manager.jpg 480w\" \/><\/figure>\n\n\n\n<p>Enter the domain name as portainer.yourdomain.com. <br>Choose the scheme as https. <br>Type the <strong>conteiner name<\/strong> as the forwarding host and 9443 as the forwarding port. Enable the Block Common Exploits and Websockets Support options. <br>Switch to SSL tab<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-opt-id=1436914846  data-opt-src=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/ssl_proxy_nginx.jpg\"  decoding=\"async\" width=\"624\" height=\"696\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20100%%20100%%22%20width%3D%22100%%22%20height%3D%22100%%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22100%%22%20height%3D%22100%%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" alt=\"\" class=\"wp-image-823\" old-srcset=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:624\/h:696\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/ssl_proxy_nginx.jpg 624w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:269\/h:300\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/ssl_proxy_nginx.jpg 269w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:230\/h:257\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/ssl_proxy_nginx.jpg 230w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:350\/h:390\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/ssl_proxy_nginx.jpg 350w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:480\/h:535\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/ssl_proxy_nginx.jpg 480w\" \/><\/figure>\n\n\n\n<p>In SSL Certificate change to &#8220;Request a new SSL Certificate&#8221;.<br>Enable Force SSL and HTTP\/2 Support. In e-mail, enter your e-mail address. <br>Finally, enable I Agree to the Let&#8217;s Encrypt Terms of Service.<br>Click Save<\/p>\n\n\n\n<p>We have configured the Proxy host, but the container is not yet connected to the NPM network. <br>Go back to the Portainer dashboard, visit the <strong>Containers<\/strong> and select the <strong>Portainer<\/strong> .<\/p>\n\n\n\n<p>find the option <strong>Connected networks<\/strong> and in front of <strong>Join a network<\/strong> select npm-network. Click on the Join Network button<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-opt-id=729785059  data-opt-src=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:1024\/h:495\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/join_network.jpg\"  decoding=\"async\" width=\"1024\" height=\"495\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%201024%20495%22%20width%3D%221024%22%20height%3D%22495%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%221024%22%20height%3D%22495%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" alt=\"\" class=\"wp-image-825\" old-srcset=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:1024\/h:495\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/join_network.jpg 1024w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:300\/h:145\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/join_network.jpg 300w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:768\/h:371\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/join_network.jpg 768w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:1536\/h:742\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/join_network.jpg 1536w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:920\/h:445\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/join_network.jpg 920w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:230\/h:111\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/join_network.jpg 230w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:350\/h:169\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/join_network.jpg 350w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:480\/h:232\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/join_network.jpg 480w, https:\/\/mlkpd8g42nae.i.optimole.com\/w:1697\/h:820\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/join_network.jpg 1697w\" \/><\/figure>\n\n\n\n<p>At this point you will be able to access the portainer with https:\/\/portainer.seudominio.com<\/p>\n\n\n\n<p>Portainer possui muitos outros recursos que facilitam o trabalho com  Docker, Kubernetes , Nomad com bastante documenta\u00e7\u00e3o . Espero que tenha gostado desta inicia\u00e7\u00e3o. <\/p>\n\n\n\n<p>See more: <strong><a href=\"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-install-engintronnginx-cpanel-whm\/\">How to install Engintron(NGINX) cPanel\/WHM<\/a><\/strong><br>See more: <strong><a href=\"https:\/\/helpsysadmin.com.br\/blog\/en\/antivirus-antimalware-antiphishing-on-centos-or-cloudlinux-with-clamav\/\">Antivirus, Antimalware, Antiphishing on CentOS or Cloudlinux with ClamAV<\/a><\/strong><br>See more: <strong><a href=\"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-install-crowdsec\/\">How to install Crowdsec<\/a><\/strong><br>Veja mais: <strong><a href=\"https:\/\/helpsysadmin.com.br\/blog\/instalar-portainer-nginx-proxy-no-ubuntu\/\">Como instalar Portainer para gerenciamento Docker com Nginx Proxy Manager no Ubuntu<\/a><\/strong><br>See more: <strong><a href=\"https:\/\/helpsysadmin.com.br\/blog\/en\/how-to-install-mailcow\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to install mailserver Mailcow<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Portainer is an open source container management solution for Docker, Kubernetes and Nomad that makes it easy to start, build and run [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":832,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1204],"tags":[1227,1229,1217],"class_list":["post-834","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server-management","tag-docker-en","tag-nginx-en","tag-ubuntu-en-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu - Blog HelpSysAdmin<\/title>\n<meta name=\"description\" content=\"Blog HelpSysAdmin - How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu\" \/>\n<meta property=\"og:description\" content=\"Blog HelpSysAdmin - How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu\" \/>\n<meta property=\"og:url\" content=\"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog HelpSysAdmin\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-13T06:08:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-18T03:50:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_docker.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"145\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"HelpSysAdmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@brhelpsysad\" \/>\n<meta name=\"twitter:site\" content=\"@brhelpsysad\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/install-portainer-for-docker-with-nginx-proxy-manager\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/install-portainer-for-docker-with-nginx-proxy-manager\\\/\"},\"author\":{\"name\":\"HelpSysAdmin\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#\\\/schema\\\/person\\\/bdbe3d7d71a0c6a3cb474c18da574efb\"},\"headline\":\"How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu\",\"datePublished\":\"2022-07-13T06:08:43+00:00\",\"dateModified\":\"2025-11-18T03:50:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/install-portainer-for-docker-with-nginx-proxy-manager\\\/\"},\"wordCount\":791,\"publisher\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/install-portainer-for-docker-with-nginx-proxy-manager\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\/\\/helpsysadmin.com.br\\/blog\\/wp-content\\/uploads\\/2022\\/07\\/portainer_docker.jpg\",\"keywords\":[\"docker\",\"nginx\",\"ubuntu\"],\"articleSection\":[\"server management\"],\"inLanguage\":\"pt-BR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/install-portainer-for-docker-with-nginx-proxy-manager\\\/\",\"url\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/install-portainer-for-docker-with-nginx-proxy-manager\\\/\",\"name\":\"How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu - Blog HelpSysAdmin\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/install-portainer-for-docker-with-nginx-proxy-manager\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/install-portainer-for-docker-with-nginx-proxy-manager\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\/\\/helpsysadmin.com.br\\/blog\\/wp-content\\/uploads\\/2022\\/07\\/portainer_docker.jpg\",\"datePublished\":\"2022-07-13T06:08:43+00:00\",\"dateModified\":\"2025-11-18T03:50:34+00:00\",\"description\":\"Blog HelpSysAdmin - How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/install-portainer-for-docker-with-nginx-proxy-manager\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/install-portainer-for-docker-with-nginx-proxy-manager\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/install-portainer-for-docker-with-nginx-proxy-manager\\\/#primaryimage\",\"url\":\"https:\\/\\/helpsysadmin.com.br\\/blog\\/wp-content\\/uploads\\/2022\\/07\\/portainer_docker.jpg\",\"contentUrl\":\"https:\\/\\/helpsysadmin.com.br\\/blog\\/wp-content\\/uploads\\/2022\\/07\\/portainer_docker.jpg\",\"width\":600,\"height\":145,\"caption\":\"Portainer Docker\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/en\\\/install-portainer-for-docker-with-nginx-proxy-manager\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/\",\"name\":\"Blog HelpSysAdmin\",\"description\":\"Blog Gerenciamento de Servidor\",\"publisher\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#organization\"},\"alternateName\":\"HelpSysAdmin Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#organization\",\"name\":\"HelpSysAdmin Gerenciamento de Servidores\",\"alternateName\":\"HelpSysAdmin\",\"url\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\/\\/mlkpd8g42nae.i.optimole.com\\/w:512\\/h:512\\/q:mauto\\/f:best\\/https:\\/\\/helpsysadmin.com.br\\/blog\\/wp-content\\/uploads\\/2020\\/12\\/favicon.png\",\"contentUrl\":\"https:\\/\\/mlkpd8g42nae.i.optimole.com\\/w:512\\/h:512\\/q:mauto\\/f:best\\/https:\\/\\/helpsysadmin.com.br\\/blog\\/wp-content\\/uploads\\/2020\\/12\\/favicon.png\",\"width\":512,\"height\":512,\"caption\":\"HelpSysAdmin Gerenciamento de Servidores\"},\"image\":{\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/brhelpsysad\",\"https:\\\/\\\/mastodon.social\\\/@helpsysadmin\"],\"description\":\"Oferecemos o gerenciamento de servidores dedicados, vps ou cloud. Apresentamos a melhor experi\u00eancia em atendimento e servi\u00e7o. Nosso time cuidar\u00e1 do seu servidor com backups, an\u00e1lises constantes, ajustes de seguran\u00e7a, realiza\u00e7\u00e3o de manuten\u00e7\u00e3o preventiva e corretiva, otimiza\u00e7\u00e3o de performance al\u00e9m de monitoramento 24\u00d77 com suporte Pr\u00f3 Ativo.\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1\",\"maxValue\":\"10\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/#\\\/schema\\\/person\\\/bdbe3d7d71a0c6a3cb474c18da574efb\",\"name\":\"HelpSysAdmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\/\\/helpsysadmin.com.br\\/blog\\/wp-content\\/litespeed\\/avatar\\/e587d5e97a45d2f6f29b0179adc1ebf4.jpg?ver=1778460604\",\"url\":\"https:\\/\\/helpsysadmin.com.br\\/blog\\/wp-content\\/litespeed\\/avatar\\/e587d5e97a45d2f6f29b0179adc1ebf4.jpg?ver=1778460604\",\"contentUrl\":\"https:\\/\\/helpsysadmin.com.br\\/blog\\/wp-content\\/litespeed\\/avatar\\/e587d5e97a45d2f6f29b0179adc1ebf4.jpg?ver=1778460604\",\"caption\":\"HelpSysAdmin\"},\"sameAs\":[\"https:\\\/\\\/helpsysadmin.com.br\\\/blog\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu - Blog HelpSysAdmin","description":"Blog HelpSysAdmin - How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/","og_locale":"pt_BR","og_type":"article","og_title":"How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu","og_description":"Blog HelpSysAdmin - How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu","og_url":"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/","og_site_name":"Blog HelpSysAdmin","article_published_time":"2022-07-13T06:08:43+00:00","article_modified_time":"2025-11-18T03:50:34+00:00","og_image":[{"width":600,"height":145,"url":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_docker.jpg","type":"image\/jpeg"}],"author":"HelpSysAdmin","twitter_card":"summary_large_image","twitter_creator":"@brhelpsysad","twitter_site":"@brhelpsysad","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/#article","isPartOf":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/"},"author":{"name":"HelpSysAdmin","@id":"https:\/\/helpsysadmin.com.br\/blog\/#\/schema\/person\/bdbe3d7d71a0c6a3cb474c18da574efb"},"headline":"How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu","datePublished":"2022-07-13T06:08:43+00:00","dateModified":"2025-11-18T03:50:34+00:00","mainEntityOfPage":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/"},"wordCount":791,"publisher":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/#organization"},"image":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_docker.jpg","keywords":["docker","nginx","ubuntu"],"articleSection":["server management"],"inLanguage":"pt-BR"},{"@type":"WebPage","@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/","url":"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/","name":"How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu - Blog HelpSysAdmin","isPartOf":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/#primaryimage"},"image":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_docker.jpg","datePublished":"2022-07-13T06:08:43+00:00","dateModified":"2025-11-18T03:50:34+00:00","description":"Blog HelpSysAdmin - How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu","breadcrumb":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/#primaryimage","url":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_docker.jpg","contentUrl":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2022\/07\/portainer_docker.jpg","width":600,"height":145,"caption":"Portainer Docker"},{"@type":"BreadcrumbList","@id":"https:\/\/helpsysadmin.com.br\/blog\/en\/install-portainer-for-docker-with-nginx-proxy-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/helpsysadmin.com.br\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Portainer for Docker Management with Nginx Proxy Manager on Ubuntu"}]},{"@type":"WebSite","@id":"https:\/\/helpsysadmin.com.br\/blog\/#website","url":"https:\/\/helpsysadmin.com.br\/blog\/","name":"Blog HelpSysAdmin","description":"Blog Gerenciamento de Servidor","publisher":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/#organization"},"alternateName":"HelpSysAdmin Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/helpsysadmin.com.br\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/helpsysadmin.com.br\/blog\/#organization","name":"HelpSysAdmin Gerenciamento de Servidores","alternateName":"HelpSysAdmin","url":"https:\/\/helpsysadmin.com.br\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/helpsysadmin.com.br\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:512\/h:512\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2020\/12\/favicon.png","contentUrl":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:512\/h:512\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/uploads\/2020\/12\/favicon.png","width":512,"height":512,"caption":"HelpSysAdmin Gerenciamento de Servidores"},"image":{"@id":"https:\/\/helpsysadmin.com.br\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/brhelpsysad","https:\/\/mastodon.social\/@helpsysadmin"],"description":"Oferecemos o gerenciamento de servidores dedicados, vps ou cloud. Apresentamos a melhor experi\u00eancia em atendimento e servi\u00e7o. Nosso time cuidar\u00e1 do seu servidor com backups, an\u00e1lises constantes, ajustes de seguran\u00e7a, realiza\u00e7\u00e3o de manuten\u00e7\u00e3o preventiva e corretiva, otimiza\u00e7\u00e3o de performance al\u00e9m de monitoramento 24\u00d77 com suporte Pr\u00f3 Ativo.","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1","maxValue":"10"}},{"@type":"Person","@id":"https:\/\/helpsysadmin.com.br\/blog\/#\/schema\/person\/bdbe3d7d71a0c6a3cb474c18da574efb","name":"HelpSysAdmin","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/litespeed\/avatar\/e587d5e97a45d2f6f29b0179adc1ebf4.jpg?ver=1778460604","url":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/litespeed\/avatar\/e587d5e97a45d2f6f29b0179adc1ebf4.jpg?ver=1778460604","contentUrl":"https:\/\/mlkpd8g42nae.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/helpsysadmin.com.br\/blog\/wp-content\/litespeed\/avatar\/e587d5e97a45d2f6f29b0179adc1ebf4.jpg?ver=1778460604","caption":"HelpSysAdmin"},"sameAs":["https:\/\/helpsysadmin.com.br\/blog\/"]}]}},"lang":"en","translations":{"en":834},"pll_sync_post":{},"_links":{"self":[{"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/posts\/834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/comments?post=834"}],"version-history":[{"count":11,"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/posts\/834\/revisions"}],"predecessor-version":[{"id":1999,"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/posts\/834\/revisions\/1999"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/media\/832"}],"wp:attachment":[{"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/media?parent=834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/categories?post=834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helpsysadmin.com.br\/blog\/wp-json\/wp\/v2\/tags?post=834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}