Removed sudo

This commit is contained in:
Tobias Reich 2014-11-01 23:56:57 +01:00
parent 9160e988f8
commit e12f53d91d

View File

@ -7,7 +7,7 @@ First, clone the latest version of Lychee and build it using the Dockerfile incl
```bash ```bash
git clone https://github.com/electerious/Lychee.git git clone https://github.com/electerious/Lychee.git
cd Lychee cd Lychee
sudo docker build -t lychee . docker build -t lychee .
``` ```
Once this is finished, remember to set the proper permissions on the `uploads` and `data` directories, so the container can mount these directories as volumes. Once this is finished, remember to set the proper permissions on the `uploads` and `data` directories, so the container can mount these directories as volumes.
@ -19,7 +19,7 @@ chmod -R 777 uploads/ data/
Now you can use the `docker run` command to run your Lychee container. Now you can use the `docker run` command to run your Lychee container.
```bash ```bash
sudo docker run -v /var/lib/mysql --name lychee_data \ docker run -v /var/lib/mysql --name lychee_data \
-v $(pwd)/data:/app/data \ -v $(pwd)/data:/app/data \
-v $(pwd)/uploads:/app/uploads \ -v $(pwd)/uploads:/app/uploads \
-i -t -d -p 8000:80 lychee -i -t -d -p 8000:80 lychee