# Mautic 5 setup via docker

**URL:** <https://forum.mautic.org/t/mautic-5-setup-via-docker/32595>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [June 29, 2024, 11:32am UTC](https://forum.mautic.org/t/mautic-5-setup-via-docker/32595 "2024-06-29T11:32:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![whojain007](https://avatars.discourse-cdn.com/v4/letter/w/4da419/32.png) [@whojain007](https://forum.mautic.org/u/whojain007)\
**Post date:** [June 29, 2024, 11:32am UTC](https://forum.mautic.org/t/mautic-5-setup-via-docker/32595/1 "2024-06-29T11:32:28Z")

</div>

**Your software**  
My Mautic version is:  
My PHP version is:  
My Database type and version is:

**Your problem**  
My problem is:  
i have set up docker mautic via the following link:

> **[docker-mautic/examples/basic at mautic5 · mautic/docker-mautic](https://github.com/mautic/docker-mautic/tree/mautic5/examples/basic)**
>
> Docker Image for Mautic. Contribute to mautic/docker-mautic development by creating an account on GitHub.

for mautic, there are 3 containers : mautic\_web, mautic\_worker and mautic\_cron

I want to know how to set up and use worker & cron containers. Also for what purpose they are used for. Kindly provide detailed answer with examples.

also how to setup queue and cronjobs in mautic.

Thanks

These errors are showing in the log:

Steps I have tried to fix the problem:

---

<div class="post-metadata">

**Author:** ![alexnitsche](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/alexnitsche/32/12272_2.png) [@alexnitsche](https://forum.mautic.org/u/alexnitsche)\
**Post date:** [July 3, 2024, 6:32am UTC](https://forum.mautic.org/t/mautic-5-setup-via-docker/32595/2 "2024-07-03T06:32:27Z")

</div>

Workers and cronjobs are explained in detail in the README of [GitHub - mautic/docker-mautic: Docker Image for Mautic](https://github.com/mautic/docker-mautic).

Set up web/worker/cron containers e.g. by

```auto
git clone https://github.com/mautic/docker-mautic.git
cd docker-mautic/examples/basic
docker compose up

```

wait until all images are fetched and all containers are up, navigate to [http://localhost](http://localhost) in your browser and see if it shows the Mautic installer.
