Video coming soon…

👨‍💻 Setup Judge0 — Code Execution Sandbox API

Deploy Judge0 on Ubuntu with Docker — an open-source API that compiles and runs untrusted code in 60+ languages inside a sandbox, with PostgreSQL and Redis behind it.

⚠️ 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 Judge0 with PostgreSQL, Redis, and workers on port 2358.
View on GitHub

Quick Install:

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

Tutorial Steps

1 Download the Script

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

2 Make it Executable

chmod +x judge0-ubuntu.sh

3 Run the Installer

The script installs Docker if needed, starts PostgreSQL 16 and Redis 7, then launches the Judge0 API and its workers on port 2358. Both run in privileged mode because the isolate sandbox requires it.

sudo bash judge0-ubuntu.sh

4 Submit Code to the API

Judge0 has no web UI — it is an API. Check that it is up and list the available languages:

curl http://<your-server-ip>:2358/languages

Ports Used

PortPurpose
2358REST API (no web UI) — never expose publicly
internalPostgreSQL 16 + Redis 7 + judge0-workers
privilegedAPI and workers run privileged — isolate sandbox requires it

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