Hi Christopher,

The user is created to not run NEST inside the Docker image with root privileges.
Additionally the user gets the user ID of the host system to allow a smooth exchange of files.

As far as I know, Singularity and Sarus make sure that the user inside the container is the same as the user outside the container. Everything should work with that as well.

For a first test on PizDaint I also simply skipped the creation of the user (even a bit more):
https://github.com/steffengraber/nest-docker/blob/piz-daint/src/piz-daint/entrypoint.sh

Best

Steffen

Am 13.01.20 um 17:04 schrieb bignamini@cscs.ch:
Hi all,

I have a question about nest user creation/usage in nest docker entrypoint file: I am working with Sarus and Singularity and due to some permission limits I can't create a new user inside a container. I have tried to modify the entrypoint.sh file as follows

https://github.com/ChristopherBignamini/nest-docker/blob/no_nest_user_creation/src/latest/entrypoint.sh

in order to skip the creation of the nest user. I am not a nest expert but everything seems to work, at least if I try to run a couple of examples like one_neuron.py and twoneurons.py.

My question is: what is the reason behind the creation and usage of the nest user?

Thank you in advance.

Cheers
Christopher
_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org

-- 
Steffen Graber

SimLab Neuroscience
Division HPC in Neuroscience
Jülich Supercomputing Centre
Institute for Advanced Simulation
Forschungszentrum Jülich GmbH
E-mail: s.graber@fz-juelich.de <mailto:s.graber@fz-juelich.de>
Phone:  +49 2461 61 85457 
http://www.fz-juelich.de/ias/jsc

Institute of Neuroscience and Medicine (INM-6)
Computational and Systems Neuroscience &
Institute for Advanced Simulation (IAS-6)
Theoretical Neuroscience &
JARA Institute Brain Structure-Function Relationships (INM-10)
Forschungszentrum Jülich GmbH
http://www.csn.fz-juelich.de