Join GitHub today
Permission denied when mounting local folders #885
What docker image you are using?
What complete docker command do you run to launch the container (omitting sensitive values)?
What steps do you take once the container is running to reproduce the issue?
What do you expect to happen?
What actually happens?
Im using Ubuntu 18.04 LtS
eduardo@MiPcLinux:~/Descargas/DockerSpark$ docker version Client: Version: 18.06.1-ce API version: 1.38 Go version: go1.10.4 Git commit: e68fc7a Built: Tue May 7 17:57:34 2019 OS/Arch: linux/amd64 Experimental: false Server: Engine: Version: 18.06.1-ce API version: 1.38 (minimum version 1.12) Go version: go1.10.4 Git commit: e68fc7a Built: Tue May 7 17:57:34 2019 OS/Arch: linux/amd64 Experimental: false
Than ks in advance
After reading the docs (https://jupyter-docker-stacks.readthedocs.io/en/latest/using/common.html) I was able to get it running with the following env options:
Important parts are:
edit: removed the "work" ending as it would be set to root
The note associated with the
I've had same problem. But that flags (-e NB_USER=vmasip -e CHOWN_HOME=yes -e CHOWN_EXTRA_OPTS='-R' --user root -w /home/vmasip/ ) collapse container, it cannot start:
Besides that, it makes (as documentation specifies) mounted drive folder change its permissions to root. I don't like this.
Now it works, and my vmasip user in container belongs to users and vmasip groups (1000).