Video coming soon…
🔐 Setup Pocket ID — Passkey-Only OIDC Provider
Deploy Pocket ID on Ubuntu with Docker — a deliberately simple OIDC provider where passkeys are the only way to log in, running on port 8170 with no passwords anywhere.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/security/pocket-id/pocket-id-ubuntu.sh
chmod +x pocket-id-ubuntu.sh
sudo bash pocket-id-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/security/pocket-id/pocket-id-ubuntu.sh
2 Make it Executable
chmod +x pocket-id-ubuntu.sh
3 Run the Installer
The script installs Docker if needed and starts ghcr.io/pocket-id/pocket-id with APP_URL set to your server address on port 8170, TRUST_PROXY false, and data persisted to ./data.
sudo bash pocket-id-ubuntu.sh
4 Claim the Admin Account
Go to the setup URL immediately and register your passkey — whoever reaches it first becomes the admin:
http://<your-server-ip>:8170/setup
Ports Used
| Port | Purpose |
|---|---|
| 8170 | Web UI + OIDC endpoints (host → container 1411) |
| APP_URL | Must match the URL users visit — passkeys are origin-bound |
| TRUST_PROXY | false by default; set true only behind a real reverse proxy |