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.

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.

You will need to do the following;

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.

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

docker-compose up -d 

Last updated

Was this helpful?