---
title: Docker projects
project: Code
version: 2.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/code/2-0/guides/docker/
updated: 2026-11-19T04:32:04.377Z
---

# Docker projects

> Where to find the Docker controls of a project in Total.js Code.

Code can run each project in its own Docker container. The official installations are prepared for this.

## Turn Docker on

Docker needs two settings, `FOLDER_WWW` and `FOLDER_NPM`. Both official `docker-compose.yaml` files have them. Without them, Code shows the message **Docker engine is not activated**. See the [configuration](../../reference/configuration/).

## Control a project

- In the editor, click **Docker** at the right of the tab bar.
- On the **Projects** screen, check one or more projects, click **Selected** and choose **Run Docker**, **Stop Docker** or **Restart**.

The list of projects has the columns **Running**, **CPU**, **Memory** and **Network**.

## Options of a project

The project form has these Docker options. Click a project on the **Projects** screen to open it.

| Option | What it is for |
|---|---|
| **Hostnames** | Extra host names of the application, separated by commas |
| **Docker: enable release mode** | Runs the application in release mode |
| **Docker: enable custom docker-compose.yaml** | Uses the `docker-compose.yaml` file of the project |
| **Docker: use logs directly from the docker container** | Shows the logs of the container |
| **Custom SSL certificate name** | The name of your own certificate, for example `apps.yourdomain.com` |

All options are listed in [Project options](../../reference/project-options/).
