Self-hosting Portainer the easy way

Self-hosting Portainer the easy way

Yulei Chen - Content-Engineerin bei sliplane.ioYulei Chen
4 min

Portainer is one of the most popular management UIs for Docker. It gives you a clean web interface to manage containers, images, volumes, and networks without touching the command line. Portainer Community Edition is free and open source, but setting it up on your own server still means dealing with Docker, reverse proxies, and SSL certificates.

Sliplane is a managed container platform that makes self-hosting painless. With one-click deployment, you can get Portainer up and running in minutes - no server setup, no reverse proxy config, no infrastructure to maintain.

If you'd rather go the manual route, check out how to install Portainer on Ubuntu - it walks through the full Docker setup step by step.

Prerequisites

Before deploying, ensure you have a Sliplane account (free trial available).

Quick start

Sliplane provides one-click deployment with presets.

SliplaneDeploy Portainer >
  1. Click the deploy button above
  2. Select a project
  3. Select a server. If you just signed up you get a 48-hour free trial server
  4. Click Deploy!

About the preset

The one-click deploy above uses Sliplane's Portainer preset. Here's what it includes:

  • Portainer CE (Community Edition) Alpine-based image for a small footprint
  • Specific version tag (portainer/portainer-ce:alpine) for stability
  • Persistent storage mounted to /data so your settings, users, and endpoint configs survive restarts
  • HTTP health check on port 9000

Note that Portainer on Sliplane runs as a standalone instance. It won't have access to the host Docker socket, so you'll use it to manage remote Docker environments or as a dashboard for your Sliplane services. To connect it to other Docker hosts, use Portainer's Edge Agent or the API endpoint feature.

Next steps

Once Portainer is running on Sliplane, access it using the domain Sliplane provided (e.g. portainer-xxxx.sliplane.app).

Initial setup

On first launch, Portainer asks you to create an admin account. Pick a strong password - this is the only time you'll see this screen. If you don't create the account within a few minutes, Portainer will time out for security reasons. If that happens, check out our guide on how to restart Portainer to reset it.

Environment variables

Portainer supports several environment variables you can set in your Sliplane service settings:

VariableDescription
PORTAINER_ADMIN_PASSWORDSet a hashed admin password (bcrypt) for automated deployments
PORTAINER_LOGOURL to a custom logo for the Portainer UI

Logging

By default, Portainer logs go to STDOUT, which works well with Sliplane's built-in log viewer. You can adjust the log level by passing --log-level=DEBUG as a command override if you need more detail for troubleshooting. For general Docker log tips, check out our post on how to use Docker logs.

Data persistence

All Portainer data (user accounts, environment configs, settings) is stored in /data inside the container. The preset mounts a persistent volume there, so your data is safe across restarts and redeployments.

Cost comparison

Of course you can also self-host Portainer with other cloud providers. Here is a pricing comparison for the most common ones:

ProvidervCPU CoresRAMDiskEstimated Monthly CostNotes
Sliplane22 GB40 GB€9charge per server
Render12 GB40 GB~$35–$45VM Small
Fly.io22 GB40 GB~$20–$25VM + volume
Railway22 GB40 GB~$15–$66Usage-based

FAQ

What can I manage with Portainer?

Portainer gives you a web UI to manage Docker containers, images, networks, and volumes. You can start, stop, and restart containers, view logs, inspect resource usage, and manage environment variables - all without writing CLI commands. It's especially useful if you're running multiple services and want a visual overview.

Can I connect Portainer to remote Docker hosts?

Yes. Portainer supports managing remote Docker environments through the Portainer Agent or Edge Agent. You can add multiple environments (Docker standalone, Docker Swarm, Kubernetes) from the Portainer UI and switch between them. Check the Portainer docs on environments for setup instructions.

How do I update Portainer?

Change the image tag in your Sliplane service settings and redeploy. Check Docker Hub for the latest stable version. The alpine tag always points to the latest CE release, but you can also pin a specific version like portainer/portainer-ce:2.27.3-alpine for more control.

Are there alternatives to Portainer?

Yes, there are several Docker management tools. Coolify is a self-hosted PaaS, Dockge focuses on Docker Compose management, and Yacht offers a similar container dashboard. Check out our post on 5 awesome Coolify alternatives for more options in this space.

Is Portainer CE enough or do I need Business Edition?

For most users and small teams, Portainer CE covers everything you need: container management, user accounts, environment management, and registry access. Business Edition adds features like RBAC, activity logging, and support for larger Kubernetes deployments. Start with CE and upgrade only if you hit its limits.

Self-host Portainer now - It's easy!

Sliplane gives you all the tools you need to run Portainer without server hassle.