Hi, I downloaded and edited docker-compose.yml and .env and when I do docker-compose up -d it’s telling me that I don’t have permissions. Don’t you know hot to fix it?
docker-compose up -d
Traceback (most recent call last):
File “/snap/docker/423/bin/docker-compose”, line 11, in
load_entry_point(‘docker-compose==1.23.2’, ‘console_scripts’, ‘docker-compose’)()
File “/snap/docker/423/lib/python2.7/site-packages/compose/cli/main.py”, line 71, in main
command()
File “/snap/docker/423/lib/python2.7/site-packages/compose/cli/main.py”, line 124, in perform_command
project = project_from_options(’.’, options)
File “/snap/docker/423/lib/python2.7/site-packages/compose/cli/command.py”, line 27, in project_from_options
environment = Environment.from_env_file(override_dir or project_dir)
File “/snap/docker/423/lib/python2.7/site-packages/compose/config/environment.py”, line 61, in from_env_file
instance = _initialize()
File “/snap/docker/423/lib/python2.7/site-packages/compose/config/environment.py”, line 57, in _initialize
return cls(env_vars_from_file(env_file_path))
File “/snap/docker/423/lib/python2.7/site-packages/compose/config/environment.py”, line 35, in env_vars_from_file
with contextlib.closing(codecs.open(filename, ‘r’, ‘utf-8-sig’)) as fileobj:
File “/snap/docker/423/usr/lib/python2.7/codecs.py”, line 896, in open
file = builtin.open(filename, mode, buffering)
IOError: [Errno 13] Permission denied: u’./.env’