Self-Host with Docker · Yantr
PrivateBin
Minimalist open-source pastebin with zero-knowledge server design using client-side AES encryption.
About
PrivateBin is a minimalist, open-source online pastebin where the server has zero knowledge of pasted data. All data is encrypted and decrypted in the browser using 256-bit AES in Galois Counter Mode before being sent to the server. The encryption key is part of the URL fragment, meaning even the server cannot read the content of pastes. Features include password protection, burn-after-reading, expiration times, discussion threads, file attachments, and syntax highlighting. It's a fork of ZeroBin with many additional features and security improvements.
How to Self-Host PrivateBin
PrivateBin can be deployed with standard Docker Compose using the Yantr app catalog. This page collects the basic information searchers usually need first: what PrivateBin does, which Docker image Yantr uses, default ports, dependencies, and where to find the original compose template.
If you searched for PrivateBin Docker, PrivateBin Docker Compose, or self-host PrivateBin, this page is the direct landing page for that app in Yantr's catalog.
Use Cases
- Share sensitive information like passwords, API keys, or configuration files securely by generating an encrypted link that only the recipient can decrypt.
- Create temporary pastes that automatically delete after a specified time or after being read once with burn-after-reading option.
- Share code snippets or logs with colleagues without the paste ever being stored in plain text on the server.
- Use as a private alternative to public pastebin services for sharing confidential work documents.
Technical Details
Ports
| Port | Protocol | Label |
|---|---|---|
| 8080 | HTTP | Web UI |
Docker Image
privatebin/nginx-fpm-alpine:latest
Service Name
privatebin
Notes
- → The encryption key is in the URL anchor (#), which is never sent to the server
- → Set a password for additional security beyond the URL-based encryption
- → Server cannot read paste contents - provides plausible deniability for hosting
Related Apps
Whoogle
Self-hosted, ad-free Google search proxy with privacy features and customization options.
Traggo
Tag-based time tracking with stopwatch, reports, and data export.
MariaDB
Fast, open-source MySQL-compatible database with enhanced features and better performance.
More App Pages
Explore the full app catalog for more self-hosted services, alternatives, and dependencies that work alongside PrivateBin.
Page generated 2026-03-06T16:43:27.553Z