permission issues
When following the instructions, I get permission issues when trying to write on the shared volume. More specifically, here is what I did:
$ make build
...
$ xhost +local:docker
non-network local connections being added to access control list
$ WORKDIR=../test_shared_ws/ make run
docker run -it \
--network=host \
--env PUID=650556 --env PGID=255196 \
--env DISPLAY=:1 \
--volume /tmp/.X11-unix:/tmp/.X11-unix:rw \
--env QT_X11_NO_MITSHM=1 \
--volume ../test_shared_ws/:/data:rw iliar-base
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@little-rascal:/$ cd /data
ubuntu@little-rascal:/data$ ls -al
total 12
drwxr-xr-x 3 650556 255196 4096 Oct 24 08:50 .
drwxr-xr-x 1 root root 4096 Oct 24 09:30 ..
drwxr-xr-x 6 650556 255196 4096 Oct 24 08:50 iliar_solution
ubuntu@little-rascal:/data$ id
uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev)
ubuntu@little-rascal:/data$ touch toto
touch: cannot touch 'toto': Permission denied
ubuntu@little-rascal:/data$
Edited by Francis Colas