Error initialising system: open /opt/tyk-gateway/tyk.conf: permission denied

I tried to use the command “docker-compose up -d” to build a tyk container but it can be built with the captioned error. If modifying the following statement in the tyk-gateway-docker.yml file, the container can be built normally but it cannot connect the redis DB. I use the tyk version 4.1.0. How to fix the issue?

In the tyk-gateway-docker.yml
- ./tyk.standalone.conf:/opt/tyk-gateway/tyk1.conf:rw

Hi @samouhk,

Welcome to the community :tada:

What is your OS? Possible you’re logged in as a non-root user?
You shouldn’t have to make that change to your yml file otherwise.
Does this help?