VPS Deploy Guide

Docker & GHCR on VPS

Install Docker, authenticate with GitHub Container Registry, pull your image.

Install Docker#

curl -fsSL https://get.docker.com | sh

If not running as root, add your user to the docker group:

sudo usermod -aG docker $USER
newgrp docker

Verify:

docker --version

Authenticate with GHCR#

You need a GitHub Personal Access Token (classic) with read:packages scope.

Create one at: GitHub → Settings → Developer Settings → Personal Access Tokens → Tokens (classic)

docker login ghcr.io -u GITHUB_USERNAME
# paste your PAT when prompted for password

Pull the image#

docker pull GHCR_IMAGE
Assistant

Ask anything about the docs.