# Cwltool uses docker --mounts

**URL:** <https://cwl.discourse.group/t/cwltool-uses-docker-mounts/929>\
**Category:** CWL Questions\
**Created:** [June 14, 2024, 1:12pm UTC](https://cwl.discourse.group/t/cwltool-uses-docker-mounts/929 "2024-06-14T13:12:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tjvneste](https://yyz2.discourse-cdn.com/free1/user_avatar/cwl.discourse.group/tjvneste/32/564_2.png) [@tjvneste](https://cwl.discourse.group/u/tjvneste)\
**Post date:** [June 14, 2024, 1:12pm UTC](https://cwl.discourse.group/t/cwltool-uses-docker-mounts/929/1 "2024-06-14T13:12:09Z")

</div>

I’m trying to implement tests for my cwl code in bitbucket pipelines. Therefore I need to run the cwl code using:

`cwltool main.cwl inputs.yml`

Although this works locally, if you run this in the bitbucket pipeline you get the following error:

`docker: Error response from daemon: authorization denied by plugin pipelines: --mounts is not allowed.`

I’ve tried the `--udocker` option but that would increase my run time considerably, which is why I would prefer another option.

Is there a way to avoid using the `--mounts` option to be able to run cwltool in the bitbucket pipeline?

---

<div class="post-metadata">

**Author:** ![mrc](https://yyz2.discourse-cdn.com/free1/user_avatar/cwl.discourse.group/mrc/32/3_2.png) [@mrc](https://cwl.discourse.group/u/mrc)\
**Post date:** [July 1, 2024, 10:17am UTC](https://cwl.discourse.group/t/cwltool-uses-docker-mounts/929/2 "2024-07-01T10:17:13Z")

</div>

Hello @tjvneste and welcome!

In `cwltool`, `--mounts` is required for use of docker. I’m surprised that bitbucket is allowing docker at all if they don’t allow `--mounts`, that is a very normal need for most users.

If you can satisfy the software dependencies another way, you can try running your workflow with `cwltool --no-container`.
