Docker resolv.conf problem with fresh install of OMV4

  • Hi,


    I am having problems with my docker containers. The file permission for /etc/resolv.conf is 0600 when I deploy any image inside docker. I need to manually change the permission through command line to make it work for all users.


    Anyone experiencing the same issue here? Any workaround that do not require manually changing the permission? It would be much appreciated.


    Thanks,

  • Found my problem...


    If you see something like this when doing ls -l /etc/resolv.conf in your container:


    -rw-r-----+ 1 root root 209 Jul 23 13:51 resolv.conf


    The "+" means there are ACL in action... to fix it run the following command on the folder containing your docker images:


    # setfacl -Rbn *


    Hope this helps someone else.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!