Video coming soon…

👨‍💻 Setup Opengist — Self-Hosted GitHub Gist Alternative

Deploy Opengist on Ubuntu with Docker — a lightweight, Git-backed pastebin and snippet server where every gist is a real Git repository you can clone and push to.

⚠️ 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 Opengist on port 6157 with Git SSH on 2224 and a persistent data volume.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/opengist/opengist-ubuntu.sh
chmod +x opengist-ubuntu.sh
sudo bash opengist-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/opengist/opengist-ubuntu.sh

2 Make it Executable

chmod +x opengist-ubuntu.sh

3 Run the Installer

The script installs Docker if needed, pulls the ghcr.io/thomiceli/opengist image, and starts it on port 6157 with Git SSH on port 2224 and a persistent ./data volume.

sudo bash opengist-ubuntu.sh

4 Create the Admin Account

Open your browser and navigate to Opengist, then register the first account — it becomes the administrator:

http://<your-server-ip>:6157

Ports Used

PortPurpose
6157Web UI + Git over HTTP
2224Git over SSH (host → container 2222)

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