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.

Automated install script — one command deploys Pocket ID on port 8170, then you claim the admin account at /setup.
View on GitHub

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

PortPurpose
8170Web UI + OIDC endpoints (host → container 1411)
APP_URLMust match the URL users visit — passkeys are origin-bound
TRUST_PROXYfalse by default; set true only behind a real reverse proxy

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions