Container Station Docker - Permission denied - [::]:80 failed

Post Reply
kirtangl
Starting out
Posts: 15
Joined: Thu Aug 20, 2015 1:01 pm

Container Station Docker - Permission denied - [::]:80 failed

Post by kirtangl »

Hi,

So, first of all, this is literally my first attempt at using docker, and testing it on a more closed system like QNAP directly probably isn't ideal, but it is a much cleaner solution for my needs, so please be kind if my question comes off a little intermediate.

Quick backstory, I have recently purchased a google home, and I am looking at hosting Phlex (https://github.com/d8ahazard/Phlex) on my QNAP, a php service that allows Google Home and PLEX media center to communicate. I wasn't really interested in fiddling with the web server to try and get this to run, as it requires PHP7, and in the past I have had a lot of issues updating this, with other apps on the server. So Container Station seemed like a perfect solution, since this is available on their git - (https://hub.docker.com/r/digitalhigh/phlex/).

So now the issue, I have installed this docker using the search function in Container Station. At first I tried with the -v /config in the command line, thinking this may be a requirement based on a forum I read elsewhere, however this gave me permissions errors. So I have installed the container completely fresh, no command line additions, to see how it goes, and I get the following log:

Code: Select all

^C[cont-finish.d] executing container finish scripts...                                                                                                                                                                                                                 
[cont-finish.d] done.                                                                                                                                                                                                                                                   
[s6-finish] syncing disks.                                                                                                                                                                                                                                              
[s6-finish] sending all processes the TERM signal.                                                                                                                                                                                                                      
[s6-finish] sending all processes the KILL signal and exiting.                                                                                                                                                                                                          
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.                                                                                                                                                                                           
[s6-init] ensuring user provided files have correct perms...exited 0.                                                                                                                                                                                                   
[fix-attrs.d] applying ownership & permissions fixes...                                                                                                                                                                                                                 
[fix-attrs.d] done.                                                                                                                                                                                                                                                     
[cont-init.d] executing container initialization scripts...                                                                                                                                                                                                             
[cont-init.d] 10-adduser: executing...                                                                                                                                                                                                                                  
usermod: no changes                                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                                        
-------------------------------------                                                                                                                                                                                                                                   
          _     _ _                                                                                                                                                                                                                                                     
         | |___| (_) ___                                                                                                                                                                                                                                                
         | / __| | |/ _ \                                                                                                                                                                                                                                               
         | \__ \ | | (_) |                                                                                                                                                                                                                                              
         |_|___/ |_|\___/                                                                                                                                                                                                                                               
               |_|                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                        
Brought to you by linuxserver.io                                                                                                                                                                                                                                        
We gratefully accept donations at:                                                                                                                                                                                                                                      
https://www.linuxserver.io/donations/                                                                                                                                                                                                                                   
-------------------------------------                                                                                                                                                                                                                                   
GID/UID
-------------------------------------                                                                                                                                                                                                                                   
User uid:    911                                                                                                                                                                                                                                                        
User gid:    911                                                                                                                                                                                                                                                        
-------------------------------------                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                        
[cont-init.d] 10-adduser: exited 0.                                                                                                                                                                                                                                     
[cont-init.d] 20-config: executing...                                                                                                                                                                                                                                   
[cont-init.d] 20-config: exited 0.                                                                                                                                                                                                                                      
[cont-init.d] 30-keygen: executing...                                                                                                                                                                                                                                   
using keys found in /config/keys                                                                                                                                                                                                                                        
[cont-init.d] 30-keygen: exited 0.                                                                                                                                                                                                                                      
[cont-init.d] 40-install: executing...                                                                                                                                                                                                                                  
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz                                                                                                                                                                                             
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz                                                                                                                                                                                        
OK: 128 MiB in 112 packages                                                                                                                                                                                                                                             
OK: 128 MiB in 112 packages                                                                                                                                                                                                                                             
sysctl: error setting key 'net.ipv4.conf.all.mc_forwarding': Read-only file system                                                                                                                                                                                      
sysctl: error setting key 'net.ipv4.conf.eth0.rp_filter': Read-only file system                                                                                                                                                                                         
iptables v1.6.0: can't initialize iptables table `filter': Permission denied (you must be root)                                                                                                                                                                         
Perhaps iptables or your kernel needs to be upgraded.                                                                                                                                                                                                                   
iptables v1.6.0: can't initialize iptables table `filter': Permission denied (you must be root)                                                                                                                                                                         
Perhaps iptables or your kernel needs to be upgraded.                                                                                                                                                                                                                   
iptables v1.6.0: can't initialize iptables table `filter': Permission denied (you must be root)                                                                                                                                                                         
Perhaps iptables or your kernel needs to be upgraded.                                                                                                                                                                                                                   
iptables v1.6.0: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.                                                                                                                                                                                                                   
ip: either "to" is duplicate, or "224.0.0.0" is garbage                                                                                                                                                                                                                 
Already up-to-date.                                                                                                                                                                                                                                                     
[cont-init.d] 40-install: exited 0.                                                                                                                                                                                                                                     
[cont-init.d] done.                                                                                                                                                                                                                                                     
[services.d] starting services                                                                                                                                                                                                                                          
[services.d] done.                                                                                                                                                                                                                                                      
crond[285]: crond (busybox 1.25.1) started, log level 5                                                                                                                                                                                                                 
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)                                                                                                                                                                                   
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)                                                                                                                                                                                   
[30-Aug-2017 23:09:24] NOTICE: fpm is running, pid 278                                                                                                                                                                                                                  
[30-Aug-2017 23:09:24] NOTICE: ready to handle connections                                                                                                                                                                                                              
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)                                                                                                                                                                                   
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)                                                                                                                                                                                   
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)                                                                                                                                                                                   
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)                                                                                                                                                                                   
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)                                                                                                                                                                                   
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)                                                                                                                                                                                   
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)                                                                                                                                                                                   
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)                                                                                                                                                                                   
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)                                                                                                                                                                                   
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)                                                                                                                                                                                   
[30-Aug-2017 23:09:35] NOTICE: Terminating ...                                                                                                                                                                                                                          
[30-Aug-2017 23:09:35] NOTICE: exiting, bye-bye!
I have a couple of concerns here, and I was hoping some more experienced members might be able to pick up the issue. Firstly, I notice a few 'Read-only file system' and 'Permission denied (you must be root)' in the log, and I fear this might have to do with not setting the -v /config, or I need to set read/write permissions somehow?.

Secondly, and this is something I noticed both with and without the -v variable set, 'nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)', this error, as far as I can tell, referes to IPv6 not being set, or disabled somehow? I did some searching, and they advise to disable IPv6, but I am honestly at a loss at where to look for this error on a QNAP system.

Any help here would be much appreciated guys, or if you see any other issues in the log, thank you.
Kirt
Post Reply

Return to “Container Station”