Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Errno 13 while running docker-compose up

I'm building an application using django and I wanted to add docker to this project.

I'm trying to run

sudo docker-compose up

Which gives me this output:

ERROR: .IOError: [Errno 13] Permission denied: './docker-compose.yml'

I checked the permissions using GUI. Everything is fine.

I'm trying to run my app from an mounted drive. I also tested it on other drives. The only drive this problem does not appear is my main drive running Ubuntu 18.04.

Looking forward to some answers

like image 440
vexE Avatar asked Nov 16 '18 19:11

vexE


1 Answers

I found a working solution.

Don't use the snap installation and do this instead (tested Ubuntu 20.04)

apt install docker.io docker-compose
like image 154
Anders Avatar answered Sep 28 '22 22:09

Anders