{"id":2349,"date":"2023-10-28T17:26:58","date_gmt":"2024-06-19T01:38:28","guid":{"rendered":""},"modified":"2025-02-02T00:46:18","modified_gmt":"2025-02-01T23:46:18","slug":"how-to-install-and-use-portainer-for-docker-management-with-nginx-proxy-manager","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/knowledgebase\/how-to-install-and-use-portainer-for-docker-management-with-nginx-proxy-manager\/","title":{"rendered":"Linux VPS &#038; VPS Windows Setup Guide | NetCloud24 and Use Portainer for Docker Management with Nginx Proxy Manager"},"content":{"rendered":"<p>\u00a0<\/p>\n<\/p>\n<h1>\u00a0<\/h1>\n<p><strong>Portainer<\/strong> is a lightweight management UI that allows you to easily manage your Docker containers, images, networks, and volumes. In this guide, we will show you how to install Portainer and configure it to work with Nginx Proxy Manager on your server.<\/p>\n<h2>Step 1: Update Your System<\/h2>\n<p>Before starting the installation, make sure your system is up to date:<\/p>\n<pre><code>sudo apt update &amp;&amp; sudo apt upgrade<\/code><\/pre>\n<h2>Step 2: Install Docker<\/h2>\n<p>If you haven&#8217;t installed Docker yet, you can do so by running the following commands:<\/p>\n<pre><code>sudo apt install apt-transport-https ca-certificates curl software-properties-common\r\ncurl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo apt-key add -\r\nsudo add-apt-repository \"deb [arch=amd64] https:\/\/download.docker.com\/linux\/ubuntu $(lsb_release -cs) stable\"\r\nsudo apt update\r\nsudo apt install docker-ce<\/code><\/pre>\n<h2>Step 3: Start Docker and Enable on Boot<\/h2>\n<p>After installation, start Docker and enable it to start on boot:<\/p>\n<pre><code>sudo systemctl start docker\r\nsudo systemctl enable docker<\/code><\/pre>\n<h2>Step 4: Install Portainer<\/h2>\n<p>Now, you can install Portainer by running the following Docker command:<\/p>\n<pre><code>sudo docker volume create portainer_data\r\nsudo docker run -d -p 9000:9000 --name portainer --restart always \\\r\n  -v \/var\/run\/docker.sock:\/var\/run\/docker.sock \\\r\n  -v portainer_data:\/data \\\r\n  portainer\/portainer-ce<\/code><\/pre>\n<h2>Step 5: Access Portainer<\/h2>\n<p>Once Portainer is running, you can access it by navigating to:<\/p>\n<pre><code>http:\/\/your_server_ip:9000<\/code><\/pre>\n<p>Set up your admin account and start managing your Docker containers through the web interface.<\/p>\n<h2>Step 6: Install Nginx Proxy Manager<\/h2>\n<p>To manage Nginx easily, you can install Nginx Proxy Manager. Run the following command to set it up:<\/p>\n<pre><code>sudo docker run -d -p 80:80 -p 443:443 --name npm \\\r\n  --restart=always \\\r\n  -v npm_data:\/data \\\r\n  --network=bridge \\\r\n  jc21\/nginx-proxy-manager<\/code><\/pre>\n<h2>Step 7: Access Nginx Proxy Manager<\/h2>\n<p>After installation, access Nginx Proxy Manager by going to:<\/p>\n<pre><code>http:\/\/your_server_ip:81<\/code><\/pre>\n<p>The default login credentials are:<\/p>\n<ul>\n<li>Email: admin@example.com<\/li>\n<li>Password: changeme<\/li>\n<\/ul>\n<h2>Step 8: Configure Nginx Proxy Manager for Portainer<\/h2>\n<p>To access Portainer through Nginx Proxy Manager, add a new proxy host in the Nginx interface:<\/p>\n<ol>\n<li>Click on &#8220;Proxy Hosts&#8221; and then &#8220;Add Proxy Host&#8221;.<\/li>\n<li>In the &#8220;Domain Names&#8221; field, enter your domain name or IP address.<\/li>\n<li>Set the &#8220;Forward Hostname \/ IP&#8221; to <code>portainer<\/code> and the port to <code>9000<\/code>.<\/li>\n<li>Save the configuration.<\/li>\n<\/ol>\n<h2>Conclusion<\/h2>\n<p>You have successfully installed Portainer for Docker management and configured it with Nginx Proxy Manager on your server. This setup allows you to easily manage your Docker containers and access them securely through a web interface.<\/p>\n<p>If you&#8217;re looking for a reliable hosting solution for your Portainer and Nginx Proxy Manager setup, consider using . With <strong>Windows VPS<\/strong>, you can enjoy high-performance hosting tailored to your container management needs. Whether you need  or <strong>Windows VPSVirtual Private Servers<\/strong>, you&#8217;ll find a solution that fits your requirements.<\/p>\n<p>For larger deployments or enterprise needs, explore <a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\" rel=\"follow\">Windows VPS<\/a> or <strong>Virtual Private Server Hosting Windows<\/strong>. Whether you&#8217;re located in the UK, Italy, or elsewhere, <a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\" rel=\"follow\">Microsoft SQL VPS Windows<\/a> and <a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\" rel=\"follow\">UK VPS Windows<\/a> offer reliable hosting options. Visit <a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\" rel=\"follow\">Windows VPS Hosting UK<\/a> to discover the best hosting solutions for your Docker management needs.<\/p>\n<div class=\"post-author-box\" style=\"border-top:1px solid #ddd;margin-top:20px;padding-top:15px;\">\n<p><strong>Author:<\/strong> \u0141ukasz Bodziony<\/p>\n<p><strong>Website:<\/strong> <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a><\/p>\n<p><em>\u0141ukasz Bodziony is the CEO and founder of <a href=\"https:\/\/netcloud24.com\" target=\"_blank\" rel=\"dofollow\">NETCLOUD24<\/a>, a global VPS hosting brand proudly originating from Poland. With extensive experience in cloud computing, virtualization, and server management, he delivers high-performance <strong>Windows VPS<\/strong> and <strong>Remote Desktop Services (RDS)<\/strong> solutions to clients across Europe, North America, and beyond.<\/em><\/p>\n<p><em>His expertise covers a wide range of technologies, including <strong>Microsoft Azure<\/strong>, <strong>Proxmox VE<\/strong>, <strong>Amazon Web Services (AWS)<\/strong>, and numerous other virtualization and cloud platforms.<\/em><\/p>\n<p><em>Beyond running his hosting business, \u0141ukasz also provides <strong>professional paid server configuration and optimization services<\/strong> for companies and individuals. Outside of work, he is dedicated to caring for his children and building a secure future for them.<\/em><\/p>\n<p><em>If you are interested in working with him or need expert assistance with your hosting, cloud environment, or server setup, feel free to reach out via <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a>.<\/em><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 \u00a0 Portainer is a lightweight management UI that allows you to easily manage your Docker containers, images, networks, and volumes. In this guide, we will show you\u2026<\/p>\n","protected":false},"author":1,"featured_media":3421,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[],"tags":[14,12,11,23,20,21,22,17,7,8,6,10,18,19,15,24,16,5,13,9],"class_list":["post-2349","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-cheapvps","tag-cloudvps","tag-hostingvps","tag-rds","tag-rdscal","tag-remotedesktop","tag-remotedesktopvps","tag-servervps","tag-ukvps","tag-virtualserver","tag-vpshosting","tag-vpsserver","tag-vpssolutions","tag-vpswindows","tag-vpswithwindows","tag-windowsrds","tag-windowsserver","tag-windowsvps","tag-windowsvpshosting","tag-windowsvpsuk"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/2349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=2349"}],"version-history":[{"count":0,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/2349\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media\/3421"}],"wp:attachment":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=2349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=2349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=2349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}