Set up a new Portainer CE Server installation

Install Portainer CE with Docker on Linux

Docker Standalone

System Requirements

  • Ubuntu 20.04/22.04/22.04 LTS

  • Minimum 2GB RAM (4GB recommended)

  • 20GB free disk space

Network Requirements

  • Port 9443 (HTTPS Web UI)

  • Port 8000 (Edge Compute)

1. Update System

Before installing anything, ensure your server packages are up to date:

sudo apt update
sudo apt upgrade -y

2. Install Docker

Portainer runs as a Docker container, so Docker must be installed first.

# Install Docker
sudo apt install docker.io -y

# Start and enable Docker service
sudo systemctl start docker
sudo systemctl enable docker

# Add user to docker group
sudo usermod -aG docker $USER

# Verify installation
docker --version

3. Portainer Installation

a. Create Data Volume

b. Run Portainer Container

What this does:

  • Opens required ports for the web UI (9443) and optional edge features (8000)

  • Allows Portainer to manage Docker through the Docker socket

  • Stores Portainer data in a persistent volume

  • Ensures Portainer automatically restarts on system reboot.

c. Verify Installation

Expected Output:

4. Initial Setup

a. Access Portainer

  1. Open web browser

  2. Navigate to: https://<server ip>:9443

You will see:

  • A security warning (because it uses a self-signed certificate) → click Proceed

  • Portainer setup page where you create the admin password

  • Then you choose the environment to manage → Docker

3. Create Admin User

  • Username: admin (or custom)

  • Password: Minimum 12 characters with:

    • Uppercase letters

    • Lowercase letters

    • Numbers

    • Special characters

Click on Get Started

Last updated