DevOps12 min read•Updated November 2026

VPS Hosting for Portainer

Quick answer

Portainer is a web interface for managing Docker, Docker Swarm and Kubernetes environments. On a VPS, run the Portainer server as a container with a persistent data volume, reach it only over HTTPS (port 9443 by default, ideally behind a VPN, IP allow list or reverse proxy), and set a strong admin password immediately after installation. Manage remote hosts with the Portainer Agent or Edge Agent rather than exposing the Docker API, deploy stacks from Git repositories, give team members role-based access, back up Portainer's data, and keep it updated, remembering that access to Portainer is effectively root access to the hosts it manages.

Running containers from the command line works well for one person, but teams often want a shared view of what is running, logs and resource use at a glance, and a safe way for developers to restart services without SSH access to the server. Portainer provides that layer on top of Docker. It does not replace Docker or Compose; it is a management interface that makes existing environments easier to operate.

Community and Business Editions

Portainer Community Edition (CE) is open source and free. Portainer Business Edition adds features aimed at organisations, such as more detailed access control and additional authentication and governance features, under a commercial licence with a free tier for small node counts at the time of writing. Check Portainer's current edition comparison and licence terms before deciding, as features and limits change.

What Portainer Does Well

  • Shows containers, images, volumes and networks with status and resource use.
  • Streams logs, opens a console and shows container stats in the browser.
  • Deploys stacks from Compose files, either pasted, uploaded or pulled from Git.
  • Manages several environments (hosts, Swarm clusters, Kubernetes clusters) from one place.
  • Provides users and teams with access to specific environments.

Installation

docker volume create portainer_data
docker run -d --name portainer --restart=always \
  -p 9443:9443 \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v portainer_data:/data \
  portainer/portainer-ce:<version>

Pin a specific version tag instead of an unversioned image, so updates happen when you choose. Open the UI promptly after starting it and create the admin user: Portainer limits how long a fresh install waits for initial setup, as a safety measure. Port 8000 is used only for Edge Agent tunnels; do not publish it unless you use Edge Agents.

Securing Portainer

Mounting the Docker socket gives Portainer full control of Docker, which on most systems is equivalent to root on the host. Anyone who logs in to Portainer as an administrator can do anything on that server. Treat it accordingly.

  • Do not leave the UI open to the whole internet. Restrict it to a VPN, a bastion or office IP addresses with the firewall.
  • Use HTTPS with a valid certificate, either Portainer's own settings or a reverse proxy in front.
  • Use strong, unique passwords, and connect to your identity provider through OAuth or LDAP where your edition supports it.
  • Give developers access only to the environments and stacks they need, not administrator rights.
  • Never expose the raw Docker API port (2375 or 2376) to the internet to connect remote hosts.

Managing More Servers

To manage more than the local host, deploy the Portainer Agent on each server or Swarm cluster and connect it from the Portainer server over a private network. For servers behind NAT or in other locations, the Edge Agent connects outward to Portainer, so the remote server needs no inbound ports. Firewall agent ports so only the Portainer server can reach them. For Swarm, deploy the agent as a global service so every node is covered (see our Docker Swarm guide).

Stacks and GitOps

Instead of pasting Compose files into the UI, connect stacks to a Git repository. Portainer pulls the Compose file and can redeploy when the repository changes, either by polling or through a webhook. This keeps configuration reviewed and versioned, makes it easy to rebuild a server, and avoids the "someone changed it in the UI" problem. Store secrets as environment variables in Portainer or as Swarm secrets, never committed to the repository.

Private Registries

Add your private registry credentials in Portainer so stacks can pull private images, ideally using a read-only account (see our private registry guide).

Kubernetes Environments

Portainer can also manage Kubernetes clusters, including lightweight ones such as K3s. It offers a simplified view of namespaces, applications and resource quotas, which suits teams new to Kubernetes. Experienced teams often still prefer kubectl, Helm and GitOps tools for day-to-day changes. See our K3s production guide.

Backups and Updates

  • Portainer's configuration lives in its data volume; back it up regularly, or use the built-in backup feature where available, and store copies off the server.
  • Portainer's backup is not a backup of your applications. Back up application volumes and databases separately.
  • Update Portainer by pulling the new pinned version and recreating the container with the same data volume, after reading the release notes and taking a backup.

Monitoring

Portainer shows live status, but it is not a full monitoring system. Pair it with Prometheus and Grafana, or another monitoring tool, for history, alerts and dashboards (see our monitoring guide). Alert on containers restarting repeatedly, disks filling and hosts going offline.

Sizing

UseSuggested plan
A few stacks on one host, managed with Portainer2 vCores / 8 GB
Many containers, databases and workers on one host4 vCores / 16 GB
Dedicated Portainer server managing many remote environments2 vCores / 8 GB, with agents on each managed server

Portainer's own memory use is small; the applications it manages decide the plan.

Example: An Agency with Client Servers

A web agency runs a Portainer server on a small VPS reachable only over the agency VPN. Each client's VPS runs the Portainer Agent, firewalled to accept connections only from the Portainer server. Every client project is a stack linked to a Git repository, developers have access only to their clients' environments, and the agency lead is the only administrator. Application databases are backed up by scheduled jobs on each server, and the Portainer data volume is backed up nightly.

Common Mistakes

  • Leaving Portainer on a public IP with only a password.
  • Giving every user administrator rights.
  • Exposing the Docker API to connect remote servers.
  • Editing stacks only in the UI, with no copy in Git.
  • Assuming Portainer's backup includes application data.

In Short

Portainer makes Docker environments easier to see and manage. Run it with a pinned version and persistent data, keep the UI private and on HTTPS, connect servers through agents, deploy stacks from Git, grant least-privilege access, and back up both Portainer and your applications.

SkyRainCloud Plans for This Workload

Portainer itself needs little: it runs alongside your containers on any plan. Size the VPS for the applications you manage; 2 vCores / 8 GB suits a handful of stacks, 4 vCores / 16 GB a busier host.

AMD EPYC 7C13 VPS

Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.

PlanvCoresRAMStorageNetworkPriceGood forBuy
VPS 1 — AMD28 GB DDR4 ECC40 GB NVMe SSD1 Gbps, unmetered₹649/monthWebsites, small APIs, bots, staging and VPN serversOrder
VPS 2 — AMD416 GB DDR4 ECC80 GB NVMe SSD1 Gbps, unmetered₹1,299/monthWooCommerce, Node.js/Python backends, Docker Compose stacks, CI runnersOrder
VPS 3 — AMD832 GB DDR4 ECC150 GB NVMe SSD1 Gbps, unmetered₹2,499/monthProduction databases, high-traffic sites, multi-container appsOrder
VPS 4 — AMD1664 GB DDR4 ECC250 GB NVMe SSD1 Gbps, unmetered₹4,899/monthLarge production workloads, SaaS platforms, analytics, in-memory cachesOrder

Intel Xeon Platinum 8269CY VPS

KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.

PlanvCoresRAMStorageNetworkPriceGood forBuy
VPS 1 — Intel28 GB DDR4 ECC40 GB NVMe SSD1 Gbps, unmetered₹649/monthBusiness websites, small apps, scheduled jobs and botsOrder
VPS 2 — Intel416 GB DDR4 ECC80 GB NVMe SSD1 Gbps, unmetered₹1,169/monthBusiness software, mid-size databases, several sites on one serverCheck stock
VPS 3 — Intel832 GB DDR4 ECC150 GB NVMe SSD1 Gbps, unmetered₹2,249/monthERP/CRM stacks, heavier databases, multiple production appsCheck stock
VPS 4 — Intel1664 GB DDR4 ECC250 GB NVMe SSD1 Gbps, unmetered₹4,299/monthHigh-memory workloads and consolidated production serversCheck stock

Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.

Frequently Asked Questions

What is Portainer?
A web interface for managing Docker, Docker Swarm and Kubernetes environments: containers, stacks, images, volumes, networks and users.
Is Portainer free?
Portainer Community Edition is open source and free; Business Edition adds organisational features under a commercial licence. Check current terms.
Which port does Portainer use?
The HTTPS UI uses 9443 by default; port 8000 is only for Edge Agent tunnels.
Is it safe to expose Portainer to the internet?
It is better not to. Portainer controls Docker, which is root-equivalent; restrict it to a VPN or trusted IP addresses with HTTPS.
How do I manage several servers with Portainer?
Install the Portainer Agent on each server, or the Edge Agent for servers behind NAT, and connect them to one Portainer server.
Can Portainer deploy from Git?
Yes. Stacks can be linked to a Git repository and redeployed automatically when it changes.
Does Portainer back up my applications?
No. It can back up its own configuration; back up application volumes and databases separately.
Can Portainer manage Kubernetes?
Yes, including lightweight distributions such as K3s, with a simplified interface.
How do I update Portainer?
Back up its data, pull the new pinned image version and recreate the container with the same data volume.
Which plan suits Portainer?
Portainer is light; choose the plan for your applications, typically 2 vCores / 8 GB for a few stacks or 4 vCores / 16 GB for busier hosts.
Instant UPI • ₹649/mo
Fast KVM Cloud Provisioning