Self-host with Docker ยท Yantr
PrivateBin
Minimalist open-source pastebin with zero-knowledge server design using client-side AES encryption.
1
Ports
3
Notes
4
Use Cases
About
What PrivateBin does
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 e...
Install Flow
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, deployment notes, and where to find the original compose template.
After deployment, Yantr lets you publish additional ports from the stack page using Docker-style syntax. Use 8080:8080 for a fixed host port or just 8080 to let Docker assign a random port.
Use Cases
What people run it for
- 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, image, and service metadata
Ports
| Port | Protocol | Label |
|---|---|---|
| 8080 | HTTP | Web UI |
Docker Image
privatebin/nginx-fpm-alpine:latest
Service Name
privatebin
Notes
Things to know before you deploy
- 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
More tools you might pair with PrivateBin
Page generated 2026-07-27T04:28:00.415Z