Skip to main content

Docker

Template

Use the official installation script from get.docker.com. The hello-world container run validates the installation.

Build

We recommend at least 2 CPUs and 2 GB of RAM for running Docker containers. With lower RAM, your sandbox might run out of memory.

Run

Run an Alpine container that prints a hello message.

Docker Compose

This example installs Docker and Docker Compose, then validates the setup with a Compose version check and a sample Compose run.

Template

Create a new file named template-compose.ts (or template_compose.py).
Expected result: you now have a local template-compose.ts or template_compose.py file.

Build

Expected output (example):

Run

Expected output (example):