Docker and python3 container issue : permission denied only on QNAP

QNAP NAS solution for server virtualization and clustering/HA/FT
Post Reply
ptpouet
New here
Posts: 3
Joined: Sat Oct 07, 2017 5:23 pm

Docker and python3 container issue : permission denied only on QNAP

Post by ptpouet » Thu Apr 16, 2020 8:00 pm

hi everybody,

I encounter an issue using a docker container on qnap, and so far I can't figure why :

I try to set up a jobeserver ( https://hub.docker.com/r/trampgeek/jobeinabox ) using the docker container.
I set up my docker container using :

Code: Select all

sudo docker run -d -p 4000:80 --name jobe trampgeek/jobeinabox:latest 
then I can test the container using the built-in command :

Code: Select all

sudo docker exec -t jobe /usr/bin/python3 /var/www/html/jobe/testsubmit.py  
On my Mac book pro, everything works fine : all test are passed using a fresh install.
but on my QNAP QS653-B its a total disaster : 90% of the tests fails, mainly du to access error (cannot open output file XXXXX: Permission denied ), like if python3 cannot write temp files on the container.

Does someone has ever encounter this kind of problem?? Any clue ?

Thanks and have a nice day

sylhaf
First post
Posts: 1
Joined: Mon Jul 20, 2020 4:45 am

Re: Docker and python3 container issue : permission denied only on QNAP

Post by sylhaf » Mon Jul 20, 2020 4:54 am

I have the same issue setting up with container station a gitlab docker.

Post Reply

Return to “Server Virtualization & Clustering”