So, I’m having a weird issue with docker 1.10.2 (not with 1.9.1):
$ mkdir /tmp/tmp
$ touch /tmp/tmp/somefile.txt
$ docker run -v /tmp/tmp:/tmp/tmp -it debian:jessie
root@xxx:/# ls -la /tmp/tmp
drwxr-xr-x 2 root root 40 Mar 8 15:14 .
drwxrwxrwt 3 root root 4096 Mar 8 15:22 …
$ sudo mount -t tmpfs -o size=512m tmpfs $HOME/tmpfs
$ touch $HOME/tmpfs/someotherfile
$ docker run -v $HOME/tmpfs:/mnt/tmp -it debian:jessie
root@xxx:/# ls -la /mnt/tmp
drwxr-xr-x 2 1000 users 4096 Mar 8 15:48 .
drwxrwxrwt 3 root root 4096 Mar 8 15:52 …
Apparently, it does not matter where I mount it, as long as it is a tmpfs filesystem.
I first noticed this while trying to run X apps using “-v /tmp/.X11-unix:/tmp/.X11-unix”.
In 1.9.1 it works fine, but I find it hard to believe this is a general 1.10 issue and no one noticed (at least not that I could find) - do I need to do anything different for this to work now??
I am running manjaro (testing branch), kernel 4.4.4-1.
Thanks in advance,