Closed woiza closed 4 years ago
Interesting, thanks for reporting.
~Does it do the same error when you do docker-compose stop
? It's likely that the file already exists and somehow it cannot overwrite it, I'll check the permissions flags used when creating the file.~
The files are written with 'read only' permission because I'm a security maniac 😄
It does give the same error when using docker-compose stop
, I'm fixing it now by writing the files with 'read and write only' permissions.
$ docker-compose up
everything works as expected$ sudo reboot
It does not work anymore...
$ docker-compose logs
ERROR cannot write to file "/unbound/root.hints": open /unbound/root.hints: permission denied
docker-compose down
anddocker-compose up
again and everything is back to normal. Any idea on how to make sure the container/service functions properly after a reboot?