Back to catalog
PrivateBin logo

Self-Host with Docker · Yantr

PrivateBin

Minimalist open-source pastebin with zero-knowledge server design using client-side AES encryption.

Ports

1

Deps

0

Use Cases

4

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, 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.

After deployment, Yantr also lets you publish additional ports later from the stack page using Docker-style syntax. Use mappings like 8080:8080 for a fixed host port or just 8080 to let Docker assign a random host port for container port 8080.

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

These are the standard container ports Yantr knows about for PrivateBin. You can keep the default mapping, remap them, or publish extra ports later after deployment with Docker syntax such as 3000:3000 or 3000.

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

More App Pages

Keep browsing the Yantr catalog

Explore the full app catalog for more self-hosted services, alternatives, and dependencies that work alongside PrivateBin.

Page generated 2026-05-03T17:57:37.943Z