Portainer: manage your Docker containers from a web interface on a VPS

13 min read

Arch of colorful shipping containers under a blue sky

What Portainer does, CE or Business Edition after the Portainer 3.0 announcement, requirements, step-by-step installation with the setup token, secure access, Docker Compose stacks and alternatives: the guide to running Docker on a VPS.

By Mouhamed BANKOLE, CEO at ITNET Technologies · Updated November 20, 2026 · Reading time: 11 min

You have installed Docker on a VPS, a few containers are running, and every change means typing a series of commands over SSH. Portainer promises to replace that terminal with a clear web interface where you can see at a glance what is running, what is failing and what is eating resources. The real questions are what the tool actually does, which edition to pick now that the vendor has announced no new features for the free version, and above all how to install it without opening a back door into your server. This guide answers those questions, with a step-by-step installation and a secure way to reach the interface.

In short

  • Portainer is a web interface that drives Docker: containers, images, volumes, networks and Docker Compose stacks are managed from the browser.
  • Portainer Community Edition remains free and maintained on the 2.45 LTS branch, but Portainer 3.x features will not be released as a Community Edition.
  • Installation takes two commands: a volume for the data, then the portainer/portainer-ce:lts container connected to the Docker socket.
  • Since version 2.43, a setup token protects the first launch: you read it in the container logs.
  • Do not publish the interface on the Internet: go through an SSH tunnel, a VPN or a filtered HTTPS proxy, because Portainer controls the whole server.

Contents

  1. What is Portainer?
  2. What is Portainer used for day to day?
  3. Portainer Community Edition or Business Edition: which edition should you choose?
  4. What does the Portainer 3.0 announcement change for Docker users?
  5. What do you need to install Portainer on a VPS?
  6. How do you install Portainer with Docker, step by step?
  7. How do you secure access to Portainer?
  8. How do you deploy an application with a Portainer stack?
  9. What are the alternatives to Portainer for managing Docker?

What is Portainer?

Portainer is a web interface for managing containers that supports Docker, Docker Swarm, Podman and Kubernetes (IT-Connect). It does not replace Docker: it sits on top of it and shows its objects in a dashboard.

What you need to know up front:

  • Portainer has two components, the Portainer Server and the Portainer Agent, both running as lightweight Docker containers (Portainer documentation);
  • on a single VPS, the server is enough: the agent is used to attach other machines to the same interface;
  • the interface is served over HTTPS on port 9443 by default, with a self-signed certificate generated at installation (Portainer documentation);
  • port 8000 is only needed for Edge agents, meaning remote machines that connect to the server on their own (Portainer documentation);
  • its data (accounts, settings, stacks) lives in a volume that you back up like any database.

In other words, Portainer is a layer of comfort and visibility on top of Docker, not a new container engine.

What is Portainer used for day to day?

Portainer lets you see and control your containers without memorizing Docker commands, which saves time on repetitive tasks and reduces typos. It is especially useful when several people work on the same server.

The most common uses:

  • monitoring container status: running, stopped, stuck in a restart loop, with CPU and memory usage;
  • reading a container's logs without typing docker logs;
  • opening a console inside a container from the browser;
  • deploying Docker Compose stacks, by pasting a file or pulling it from a Git repository;
  • cleaning up unused images and volumes, which eventually fill the disk;
  • managing access: user accounts and teams, so you do not hand out the server's root access.

Pro tip: Portainer is a good visibility tool, but keep your Compose files in a Git repository. The interface then becomes a way to deploy a versioned configuration, not the only place where it exists.

Portainer Community Edition or Business Edition: which edition should you choose?

For a VPS or a small Docker fleet, Portainer Community Edition is enough in the vast majority of cases; Business Edition makes sense when you need enterprise features or the upcoming 3.x versions. Both editions share the same 2.45 LTS base today.

CriterionCommunity EditionBusiness Edition
PriceFreePaid, free for up to 3 nodes through the "3 Nodes Free" program (Portainer)
CodePublic on GitHubClosed
Current version2.45.4 LTS, released on November 19, 2026 (Portainer documentation)2.45.4 LTS, same date (Portainer documentation)
Access to Portainer 3.xNo, no Community Edition build planned (Portainer)Yes
Fixes on the 2.45 LTS branchYesYes
Typical usePersonal VPS, small business, agency with a few serversTeams with compliance requirements, large fleets

To decide, ask yourself three questions:

  • do you have more than three servers to manage? If not, the free Business Edition remains an option if you want its features;
  • do you need open code? If so, only Community Edition fits;
  • are you planning to move to Kubernetes? If so, look at the 3.x roadmap; otherwise, Community Edition covers most Docker use cases.

What does the Portainer 3.0 announcement change for Docker users?

For Docker on a VPS, nothing changes in the short term: Portainer Community Edition stays on the 2.45 LTS branch, which keeps receiving security and bug fixes. The change is about the product's future, not your current installation.

What is established, according to the post by Portainer's CEO published on September 11, 2026 (Portainer):

  • Portainer 2.45 LTS is the last release of the 2.x branch;
  • no Community Edition build of Portainer 3.x is planned: version 3 targets Kubernetes first and an enterprise audience;
  • the 2.45 LTS branch, both Community and Business editions, keeps receiving security fixes, bug fixes and back-ports of some 3.x features;
  • Docker is not being dropped: an update dated November 6, 2026 states that Portainer 3 is "Kubernetes-first, not Kubernetes-only" (Portainer).

Our reading is that Portainer Community Edition becomes a stable tool rather than a fast-moving one. For managing a few containers on a VPS, that is rather reassuring: the interface will not change under your feet. If you are waiting for new Docker features, however, you will need to look at Business Edition or an alternative.

What do you need to install Portainer on a VPS?

You need a Linux server with a recent Docker installed from the official packages, sudo access and some disk space for the data volume. Portainer itself is light; your applications are what size the server.

The checklist before you start:

  • an up-to-date Docker: the vendor recommends the official installation and advises against Docker installed via snap on Ubuntu (Portainer documentation);
  • a tested Docker version: 2.45.4 LTS is validated with Docker 28.5.1 and 29.10.0, on x86_64 and ARM64 architectures (Portainer documentation);
  • Docker running as root: rootless mode has limitations and needs extra configuration (Portainer documentation);
  • SELinux disabled, or the --privileged flag added at launch if it must stay enabled (Portainer documentation);
  • root or sudo access to the machine, which a fully virtualized VPS gives you.

Wayhost VPS plans run on KVM virtualization with full root access and NVMe storage, and are listed from €6.23 excl. VAT per month (observed on November 20, 2026). Full virtualization matters here: Docker needs its own kernel, which KVM provides.

How do you install Portainer with Docker, step by step?

The official installation takes two commands: create a volume for the data, then start the Portainer Community Edition container connected to the Docker socket (Portainer documentation). Allow a few minutes once Docker is installed.

Here is the procedure, with one security change compared with the documented command (the port is published on the local interface only):

  1. Connect to the VPS over SSH with a sudo account.
  2. Create the data volume:
docker volume create portainer_data
  1. Start Portainer Community Edition, exposing port 9443 on the machine itself only:
docker run -d -p 127.0.0.1:9443:9443 --name portainer --restart=always \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v portainer_data:/data portainer/portainer-ce:lts
  1. Check that the container is running with docker ps.
  2. Retrieve the setup token from the logs by looking for the setup_token= line:
docker logs portainer 2>&1 | grep setup_token
  1. Open the interface (see the next section to reach it from your computer), paste the token and create the administrator account.

Three points most tutorials do not mention yet:

  • the setup token has been required since Portainer 2.43 / 2.39.4 to stop a third party from claiming a freshly started instance (Portainer documentation);
  • the administrator account must be created within 5 minutes, otherwise you have to read the token again and retry (Portainer documentation);
  • for a scripted installation, the --admin-password-file option presets the password and removes the token; --no-setup-token should only be used on an isolated network you fully control (Portainer documentation).

Port 8000 is not published in this command: it is only used by Edge agents (Portainer documentation). Add it only if you need it.

How do you secure access to Portainer?

Never leave the Portainer interface open to the whole Internet: reach it through an SSH tunnel, a VPN or a restricted HTTPS proxy. Portainer holds the Docker socket, and Docker's documentation points out that only trusted users should be allowed to control the Docker daemon, which runs with root privileges (Docker).

The risks to keep in mind:

  • compromising Portainer means compromising the server, since it can start any container with any mount;
  • a ufw firewall does not protect a port published by Docker: traffic to a container is diverted before it reaches the ufw rules (Docker);
  • the self-signed certificate triggers a browser warning and trains you to click "continue", a bad habit.

Three clean ways to reach it:

MethodSetupBest for
SSH tunnelssh -L 9443:127.0.0.1:9443 user@vps-ip, then https://localhost:9443 on your computerA single administrator, occasional access
VPN (WireGuard, for example)Portainer published on the VPN address onlyA small team, regular access
HTTPS proxy (Nginx, Traefik, Caddy)Domain name, valid certificate, IP filtering or upstream authenticationSeveral users, access from various places

On a Wayhost VPS, security groups also let you control inbound and outbound traffic from the customer area (observed on November 20, 2026 on the Wayhost VPS page). This filtering upstream of the machine does not depend on the iptables rules written by Docker.

Pro tip: choose a long, unique administrator password, create one account per person rather than a shared administrator, and update Portainer whenever you update Docker.

How do you deploy an application with a Portainer stack?

A Portainer stack is a Docker Compose file that you paste or link in the interface, and that Portainer deploys and updates for you. It is the most useful feature day to day, because it groups all the containers of an application.

The typical workflow:

  1. Open the local environment, then the "Stacks" menu and "Add stack".
  2. Name the stack, in lowercase.
  3. Paste your Compose file into the web editor, or point to a Git repository and the file path.
  4. Fill in the environment variables (passwords, domain names) in the dedicated fields rather than hard-coding them in the file.
  5. Deploy, then follow the containers as they start and read their logs.

Examples of applications that deploy well this way on a VPS:

  • an automation tool such as n8n, with its PostgreSQL database;
  • a private cloud such as Nextcloud, with its database and cache;
  • a test WordPress site, before going live on managed web hosting.

Pro tip: take a VPS snapshot before every stack update. Instant snapshots are created from the Wayhost customer area (observed on November 20, 2026 on the Wayhost VPS page), so you can roll back if a new image breaks the application.

What are the alternatives to Portainer for managing Docker?

The main alternatives are the command line with Docker Compose, and newer open-source interfaces such as Komodo or Arcane. The right choice mainly depends on the number of servers and how much you care about open code that keeps evolving.

ToolStrengthsLimitations
Portainer Community EditionMature, well documented, handles Docker, Swarm, Podman and KubernetesBranch frozen on 2.45 LTS for new features (Portainer)
KomodoBuilds and deploys across several servers, with no artificial server-count limit (It's FOSS)Deployment-oriented approach, less of a "dashboard"
ArcaneModern interface, manages containers, Compose, images, volumes, networks and Swarm, BSD-3-Clause license (It's FOSS)Younger project
Docker Compose aloneNo extra exposed service, everything can be versionedNo graphical interface

If you only manage one or two VPS and you are comfortable with SSH, Docker Compose and a Git repository are often enough. As soon as several people step in or you manage several machines, an interface like Portainer becomes useful. For a larger fleet or heavy workloads, a physical server, presented by Wayhost with "dedicated CPUs, NVMe storage, zero virtualization" (observed on November 20, 2026), can host many containers.

Frequently asked questions

Is Portainer free?

Yes, Portainer Community Edition is free and its code is public. Business Edition is paid, but stays free for up to three nodes through the "3 Nodes Free" program. For a single VPS, the Community Edition covers most needs.

Is Portainer Community Edition going away?

No, there are no plans for it to disappear. Portainer Community Edition stays on the 2.45 LTS branch, which keeps receiving security and bug fixes. However, Portainer 3.x features will not be offered in a Community Edition.

Which port does Portainer use?

Portainer serves its interface over HTTPS on port 9443 by default. Port 8000 is only needed for Edge agents, and HTTP port 9000 should only be opened for legacy needs. On a VPS, publish port 9443 on the local interface only.

Where do I find the Portainer setup token?

The token is in the Portainer container logs, on the line starting with setup_token=. The docker logs command followed by the container name displays it. It is used only once, to create the first administrator.

Do I need Docker Compose to use Portainer?

No, Portainer installs with a single docker run command. It can also deploy Docker Compose files as stacks from its interface. Having Compose on the server is still handy for command-line work.

Can Portainer run on shared hosting?

No, Portainer needs Docker and root access, which shared hosting does not give you. You need a VPS, a dedicated server or a personal Linux machine. A KVM-virtualized VPS is a good fit.

Does Portainer use a lot of resources?

No, the Portainer server runs in a lightweight container. The applications you deploy are what determine the memory and CPU you need. Plan mostly for disk space for Docker images.

How do I update Portainer Community Edition?

Stop and remove the Portainer container, pull the new portainer-ce:lts image, then run the same docker run command again. The portainer_data volume keeps your settings and accounts. Back up this volume before any update.

Key takeaways

  • Portainer is a web interface for Docker, useful for monitoring, deploying stacks and sharing administration without sharing root access.
  • Portainer Community Edition remains free and maintained on the 2.45 LTS branch, without the features of the upcoming 3.x version.
  • Installation takes two commands, with a setup token to read from the logs since version 2.43.
  • Publish the interface on 127.0.0.1 and reach it through an SSH tunnel, a VPN or a filtered proxy: ufw does not block ports published by Docker.
  • Take a snapshot before every update of Portainer or a stack, so you can roll back if something goes wrong.

To run Portainer and your containers on a KVM machine with root access, NVMe storage, security groups and snapshots, discover Wayhost VPS plans.

Article written by Mouhamed BANKOLE, CEO at ITNET Technologies.

Have a specific question?

Our step-by-step articles answer the most common questions.

Knowledge base