You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing running the terra-jupyter images (particularly the r and python images) on my own gcp VM, as an alternative to running the images on Terra.
It all works reasonably well, with some additional entrypoint parameters. Here's what I use to run an image on a vm with debian 11:
Jupyter lab then gets launched at port 8000, where I can log in with a token.
However, I am not able to write any file into my mounted volume data/. There's a permission issue, and attempts to sudo chown the directory runs into the issue of requiring password for root access, which I can't seem to figure out.
Any idea on how to proceed? the already install package list on the terra images are very convenient for me, so getting it to work would be great.
The text was updated successfully, but these errors were encountered:
You need to allow the jupyter user to have read/write permissions in your mounted volume prior to running the docker by referencing it's gid and uid in the chown command (e.g. 1000, 100).
sudo chown -R 1000:100 /path/to/volume
Now, when you run docker and mount data/, the jupyter user can read/write to it.
Hello Terra team,
I'm testing running the terra-jupyter images (particularly the r and python images) on my own gcp VM, as an alternative to running the images on Terra.
It all works reasonably well, with some additional entrypoint parameters. Here's what I use to run an image on a vm with debian 11:
Jupyter lab then gets launched at port 8000, where I can log in with a token.
However, I am not able to write any file into my mounted volume
data/
. There's a permission issue, and attempts tosudo chown
the directory runs into the issue of requiring password for root access, which I can't seem to figure out.Any idea on how to proceed? the already install package list on the terra images are very convenient for me, so getting it to work would be great.
The text was updated successfully, but these errors were encountered: