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
| Use | Suggested plan |
|---|---|
| A few stacks on one host, managed with Portainer | 2 vCores / 8 GB |
| Many containers, databases and workers on one host | 4 vCores / 16 GB |
| Dedicated Portainer server managing many remote environments | 2 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.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
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.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — Intel | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Business websites, small apps, scheduled jobs and bots | Order |
| VPS 2 — Intel | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| VPS 3 — Intel | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| VPS 4 — Intel | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,299/month | High-memory workloads and consolidated production servers | Check 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.