> ## Content Index
> Fetch the complete content index at: https://trendboxgeek.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Install Portainer: A Self-Hosted Vercel Alternative
- URL: https://trendboxgeek.com/blog/install-portainer/
- Published: 2026-07-27T17:19:41.000Z
- Updated: 2026-08-03T16:55:00.000Z
- Author: Pankajbhai Chavda
- Tags: #blog-col

If you have your own on-premises server, then you want the best alternative open source tool for Vercel. Some people choose Coolify, but Portainer is the best when you want rock-solid, enterprise-grade container management. It turns your homelab into a private Platform as a Service (PaaS).

Here's how to set Portainer up and how to deploy it.

## Why Portainer?

Portainer is more than just a web UI for Docker. It is a beast. Massive enterprise teams use Portainer to manage AI infrastructure, push updates to edge devices, and run self-service app deployments. For a homelabber or small business, it lets you manage containers without touching the CLI.

Here is what you are actually getting when you use it.

A Stack is Portainer's term for a docker-compose setup. Instead of running containers one by one, you paste a compose file and it deploys everything together. You can set up auto updates here so that a push to GitHub triggers a fresh deployment. (We'll cover how to set this up in Part 2)

Using the Containers view, you can see every container in one place. You can start and stop them, and view live logs here.

Every container runs from an image. Over time, your server will fill up with old ones. But using this tab, you can see what's taking up disk space.

Volumes manage persistent storage. When you delete a container, its data gets wiped unless it is mapped to a volume.

If you want to run multiple apps behind a reverse proxy, they need to be on the same Docker network to talk to each other. You can create and manage those networks here.

## Installation guide

Here we install Portainer on an Ubuntu 24.04 LTS server. First, we update and upgrade our system using the below command.

sudo apt update && sudo apt upgrade -y

Now we install Docker.

sudo apt install docker.io util-linux-extra -y
sudo usermod -aG docker $USER
newgrp docker

Now, create a volume so you don't lose your Portainer data if the container restarts.

docker volume create portainer_data

Then, run the container.

docker run -d -p 8000:8000 -p 9443:9443 --name portainer \
    --restart=always \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v portainer_data:/data \
    portainer/portainer-ce:latest

Open your browser and navigate to the below link, replacing YOUR\_SERVER\_IP with your server's IP address.

https://YOUR_SERVER_IP:9443

Then open your Portainer login page as shown below.

![Log In page of Portainer.](https://trendboxgeek.com/content/images/2026/07/Screenshot-From-2026-07-27-11-14-43.png)

Here, set your admin password. If you do not have a token, run the below command in your server's terminal.

docker logs portainer 2>&1 | grep -i token

**Expected Output:**

![Output for docker's token.](https://trendboxgeek.com/content/images/2026/07/Screenshot-From-2026-07-27-19-40-18.png)

Set up your admin password, select "Get Started" with the local environment, and you're in.

## What's Next?

That's it for Part 1—you now have a powerful container manager running on your homelab. In Part 2, we'll connect [Portainer to GitHub using GitOps](https://trendboxgeek.com/blog/portainer-gitops/) so your apps auto-deploy the second you push code, giving you that true Vercel-like experience.