# Can't install Rasa using Docker

**URL:** <https://forum.rasa.com/t/cant-install-rasa-using-docker/38901>\
**Category:** Rasa Open Source\
**Created:** [January 12, 2021, 9:26am UTC](https://forum.rasa.com/t/cant-install-rasa-using-docker/38901 "2021-01-12T09:26:41Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![orcam](https://avatars.discourse-cdn.com/v4/letter/o/b5a626/32.png) [@orcam](https://forum.rasa.com/u/orcam)\
**Post date:** [January 12, 2021, 9:26am UTC](https://forum.rasa.com/t/cant-install-rasa-using-docker/38901/1 "2021-01-12T09:26:41Z")

</div>

I tried setting up a rasa project using docker. The command on the website (docker run -v $(pwd):/app rasa/rasa:2.2.4-full init --no-prompt) doesn’t function. I tried it with sudo and antother time while logged in as root user, but I get always the same error. What can I do to fix the permission error?

> marco@ubuntuvm:~/Docker$ sudo docker run -v $(pwd):/app rasa/rasa:2.2.4-full init --no-prompt Unable to find image ‘rasa/rasa:2.2.4-full’ locally 2.2.4-full: Pulling from rasa/rasa 6ec7b7d162b2: Already exists 80ff6536d04b: Already exists 6c51d3836e95: Already exists 6ce84404158b: Already exists 6e001f327b45: Already exists b969ce3a984b: Already exists 956b85e90fa3: Pull complete d82f2dbdc45f: Pull complete a6e201e14a0e: Pull complete Digest: sha256:a01c37b8b50adc3333afbb9b68c502dc6f11650cbec90b28353ab98cb8fc0d3b Status: Downloaded newer image for rasa/rasa:2.2.4-full Matplotlib created a temporary config/cache directory at /tmp/matplotlib-482hbnfw because the default path (/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing. 2021-01-12 09:17:12.104659: W tensorflow/stream\_executor/platform/default/dso\_loader.cc:59] Could not load dynamic library ‘libcudart.so.10.1’; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory 2021-01-12 09:17:12.105253: I tensorflow/stream\_executor/cuda/cudart\_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. 2021-01-12 09:17:15 WARNING rasa.utils.common - Failed to write global config. Error: [Errno 13] Permission denied: ‘/.config’. Skipping. Warning: Output is not to a terminal (fd=1). Warning: Input is not to a terminal (fd=0). Welcome to Rasa! 🤖
> 
> To get started quickly, an initial project will be created. If you need some help, check out the documentation at [Introduction to Rasa Open Source & Rasa Pro](https://rasa.com/docs/rasa).
> 
> Traceback (most recent call last): File “/usr/local/lib/python3.7/distutils/file\_util.py”, line 41, in \_copy\_file\_contents fdst = open(dst, ‘wb’) PermissionError: [Errno 13] Permission denied: ‘./credentials.yml’
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last): File “/opt/venv/bin/rasa”, line 8, in sys.exit(main()) File “/opt/venv/lib/python3.7/site-packages/rasa/ **main**.py”, line 116, in main cmdline\_arguments.func(cmdline\_arguments) File “/opt/venv/lib/python3.7/site-packages/rasa/cli/scaffold.py”, line 234, in run init\_project(args, path) File “/opt/venv/lib/python3.7/site-packages/rasa/cli/scaffold.py”, line 127, in init\_project create\_initial\_project(path) File “/opt/venv/lib/python3.7/site-packages/rasa/cli/scaffold.py”, line 135, in create\_initial\_project copy\_tree(scaffold\_path(), path) File “/usr/local/lib/python3.7/distutils/dir\_util.py”, line 163, in copy\_tree dry\_run=dry\_run) File “/usr/local/lib/python3.7/distutils/file\_util.py”, line 151, in copy\_file \_copy\_file\_contents(src, dst) File “/usr/local/lib/python3.7/distutils/file\_util.py”, line 44, in \_copy\_file\_contents “could not create ‘%s’: %s” % (dst, e.strerror)) distutils.errors.DistutilsFileError: could not create ‘./credentials.yml’: Permission denied

---

_[View the full topic](https://forum.rasa.com/t/cant-install-rasa-using-docker/38901)._
