> For the complete documentation index, see [llms.txt](https://cherrycake.tin.cat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cherrycake.tin.cat/guide/getting-started/docker.md).

# Docker start

{% hint style="warning" %}
Please note that the Cherrycake Docker project only runs in Linux. Should work in Mac Os too, but hasn't been tested yet.
{% endhint %}

First of all if you haven't done it before, [install Docker](https://docs.docker.com/get-docker).

Clone or [download](https://github.com/tin-cat/cherrycake-docker) the Cherrycake Docker project:

```bash
git clone https://github.com/tin-cat/cherrycake-docker.git CherrycakeAppDocker
```

Once in the Cherrycake Docker directory, use the  `cherrycake` script to interact with the docker project. Run `./cherrycake` without any argument to see a list of all the available commands:

```bash
./cherrycake
```

> Note that, depending on your Docker installation, you might need root privileges to run the `./cherrycake` script. In such cases, use `sudo ./cherrycake` instead.

To start the server, use the `start` command:

```bash
./cherrycake start
```

Once the initial build is complete, you'll have a working development environment ready:

* Access `http://localhost` on your browser to see the running app.
* Access `http://localhost:8080` to admin your database (User `root`, no password)
* Your Cherrycake app is stored under the `/app` directory, start working there!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cherrycake.tin.cat/guide/getting-started/docker.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
