# Launching tutor locally

**URL:** <https://discuss.openedx.org/t/launching-tutor-locally/12168>\
**Category:** Tutor Help\
**Tags:** tutor\
**Created:** [January 24, 2024, 7:03am UTC](https://discuss.openedx.org/t/launching-tutor-locally/12168 "2024-01-24T07:03:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subhash\_Kumar](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/subhash_kumar/32/6386_2.png) [@Subhash\_Kumar](https://discuss.openedx.org/u/Subhash_Kumar)\
**Post date:** [January 24, 2024, 7:03am UTC](https://discuss.openedx.org/t/launching-tutor-locally/12168/1 "2024-01-24T07:03:41Z")

</div>

Hi Team, I am getting below error while launching tutor locally using command “sudo tutor local launch”.

error:-  
docker compose -f /home/myLaptop/.local/share/tutor/env/local/docker-compose.yml -f /home/myLaptop/.local/share/tutor/env/dev/docker-compose.yml --project-name tutor\_dev stop  
validating /home/myLaptop/.local/share/tutor/env/dev/docker-compose.yml: services.cms.volumes array items[0,6] must be unique  
Error applying action: func=\<function \_stop\_on\_local\_start at 0x7f3f2bf10280\> contexts=’  
Error: Command failed with status 15: docker compose -f /home/myLaptop/.local/share/tutor/env/local/docker-compose.yml -f /home/myLaptop/.local/share/tutor/env/dev/docker-compose.yml --project-name tutor\_dev stop

---

<div class="post-metadata">

**Author:** ![Syed\_Muhammad\_Dawoud](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/syed_muhammad_dawoud/32/6313_2.png) [@Syed\_Muhammad\_Dawoud](https://discuss.openedx.org/u/Syed_Muhammad_Dawoud)\
**Post date:** [January 24, 2024, 7:22am UTC](https://discuss.openedx.org/t/launching-tutor-locally/12168/2 "2024-01-24T07:22:43Z")

</div>

Hi, it relates to docker compose version. Please see [docker compose validations fail with docker-compose-plugin \> 2.21 · Issue #992 · overhangio/tutor · GitHub](https://github.com/overhangio/tutor/issues/992). Furthermore, why are you using sudo to run tutor? Ideally, you should not do it to run tutor. It should run without it.

---

<div class="post-metadata">

**Author:** ![regis](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/regis/32/2640_2.png) [@regis](https://discuss.openedx.org/u/regis)\
**Post date:** [January 24, 2024, 8:48am UTC](https://discuss.openedx.org/t/launching-tutor-locally/12168/3 "2024-01-24T08:48:37Z")

</div>

Actually, I believe the error comes from some incorrect volume configuration:

> validating /home/myLaptop/.local/share/tutor/env/dev/docker-compose.yml: services.cms.volumes array items[0,6] must be unique

Can you paste here the content of `/home/myLaptop/.local/share/tutor/env/dev/docker-compose.yml`?

Also, please follow Dawoud’s suggestion to not run as root.

---

<div class="post-metadata">

**Author:** ![aceIsHere](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@aceIsHere](https://discuss.openedx.org/u/aceIsHere)\
**Post date:** [January 24, 2024, 7:05pm UTC](https://discuss.openedx.org/t/launching-tutor-locally/12168/4 "2024-01-24T19:05:03Z")

</div>

This previous weekend, I encountered this same problem (_error code 15 for yaml files_) with a brand-new Tutor Open edX instance ( **Palm 4** release, **v16.1.8** ). After extensive troubleshooting over two days, on the _Docker_, _Tutor_, _Openedx_ forums, _Stackoverflow_ and respective _Github_ repo issues it seems the root cause is a compatibility issue with **Docker’s latest version** , likely originating from **v25**.

I tested the YAML configuration files and found no errors. These tests also included fresh installations on both _Ubuntu **20** and **22** _, while other dependencies, software, networking, system resources being controlled/monitored, each performed twice. The issue appears to be specifically related to the `./dev/docker-compose.yml` file. When executing ‘docker compose up’ on the `./local/docker-compose.yml` file, there are no conflicts, and the build process initiates smoothly. I would recommend trying with Docker **v24** (I successfully installed it using **24.0.7-1~ubuntu.20.04~focal – on a VM** ).

Although further extensive troubleshooting and confirmation from more experienced professionals, such as yourself, Regis, would be beneficial.
