> For the complete documentation index, see [llms.txt](https://docs.crimsonq.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.crimsonq.io/installation/building-using-docker-and-compose.md).

# Building using Docker and Compose

Building a docker image easily

If you need to build a docker image that works for your environment, all you need to do is pull the repo and execute the docker-compose build files in the root of the project as explained below.&#x20;

Start off by cloning the latest repo from the following <https://github.com/ywadi/crimsonq>

Once you clone it, in the root of the project folder you will have a `dockerfile` that will help you build the image.&#x20;

{% hint style="warning" %}
If you want to change configurations, it would be easier for change the configurations before *building* the image as it will be copied into the image. So if you want to make it easier for your self, change the configuration before building. To do that you will just need to change the configurations in the `crimson.config` file in the project root. Please see the [server configuration](/installation/server-configuration.md) page for details.&#x20;
{% endhint %}

You will need to do the following;&#x20;

```
cd crimsonq 
docker build .
```

This command will build 2 images, one is an intermediate image that you will not need and the other is called `yousefjwadi/crimsonq:latest`. This is the image you will need to run using docker compose.&#x20;

The docker-compose.yaml file is also in the project root, so all you need to do is now&#x20;

```
docker-compose up -d 
```
