-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker fails with cache permission error #10
Comments
Thanks for your feedback! I had a look at the logfile and I'm not sure what is going wrong.
I don't understand why docker wants to create a cache folder that already exists. The logfile shows that Can you show me the output of I wonder if a file permission change would help, though it should not be needed and I would want to avoid it: Edit2: |
# 29.04.2017 V3.1.11 disabled $Cidfile as not important and due to #10
Thanks for looking into this @mviereck. I'll check this next week. |
Most likely this is really a permissions problem resulting from serving $HOME-folder from a network-share. I checked with system administration but we found no quick solution to overcome this. So we decided to workaround this by changing x11docker's
to a folder located on the local harddisk.
After this everything works as expected. So my suggestion would be to have a cmdline-switch to set this folder (or the $HOME) specifically. $ ls -la /home/kai/home/.cache/x11docker/
insgesamt 24
drwxr-xr-x 3 k.muehlbauer users 39 2. Mai 11:56 .
drwxr-xr-x 3 k.muehlbauer users 23 2. Mai 11:36 ..
drwxr-xr-x 3 k.muehlbauer users 208 2. Mai 11:56 X100
-rw-r--r-- 1 k.muehlbauer users 21968 2. Mai 11:56 x11docker.log $ ls -la /home/kai/home/.cache/x11docker/X100/
insgesamt 44
drwxr-xr-x 3 k.muehlbauer users 208 2. Mai 11:56 .
drwxr-xr-x 3 k.muehlbauer users 39 2. Mai 11:56 ..
-rw-r--r-- 1 k.muehlbauer users 22 2. Mai 11:56 backgroundpids
-rw-r--r-- 1 k.muehlbauer users 1873 2. Mai 11:56 docker.log
-rw-r--r-- 1 k.muehlbauer users 5 2. Mai 11:56 docker.pid
drwxr-xr-x 2 k.muehlbauer users 69 2. Mai 11:56 share
-rw-r--r-- 1 k.muehlbauer users 7465 2. Mai 11:56 xinit.log
-rw-r--r-- 1 k.muehlbauer users 3673 2. Mai 11:56 xinitrc
-rw-r--r-- 1 k.muehlbauer users 1056 2. Mai 11:56 xorg.xdummy.conf
-rw-r--r-- 1 k.muehlbauer users 3969 2. Mai 11:56 xpraserver.log
-rw------- 1 k.muehlbauer users 53 2. Mai 11:56 Xservercookie
-rw-r--r-- 1 k.muehlbauer users 389 2. Mai 11:56 xterm.log
-rw-r--r-- 1 k.muehlbauer users 2001 2. Mai 11:56 xtermrc Keep up the good work! |
You can just set HOME before running x11docker:
or
It seems docker has no access to your network share, even cannot see it exists. I think this is forbidden as docker daemon runs as root and not as user kai. (See
OT: you know that this is a quite insecure setup? Now you can get root access as unprivileged user:
Thanks! I will do. :-) |
@kmuehlbauer
There are two commandline switches now, |
@mviereck Thanks again! |
kmuehlbauer wrote:
The text was updated successfully, but these errors were encountered: