Getting below error when I try using this authenticator on docker
500 : Internal Server Error
Error in Authenticator.pre_spawn_start: FileNotFoundError [Errno 2] No such file or directory: 'systemctl'
You can try restarting your server from the home page.
Dockerfile
FROM jupyter/minimal-notebook:latest
RUN pip install notebook jupyterhub-tmpauthenticator jupyterhub-systemdspawner
COPY jupyterhub_config.py /home/jovyan/jupyterhub_config.py
I already posted it on github issues and someone closed the issue and asked me to use community form. I need a working docker image of jupyterhub-tmpauthenticator. Hoping for help.
Regarding your concrete problem, please have a deep look at the difference between a docker spawner which is started for each user and on the other side a JupyterHub server instance (usually for one working login mask you need exactly one instance).
Well yes, I tried the littlest jupyter but it didn’t work on AWS ECS. Yuvi panda already said it doesn’t have a docker image. So, looking for the options here.
My requirement is exactly same as the one which was stated by jupyterhub-tmpauthenticator. Simple authenticator for JupyterHub that gives anyone who visits the home page a user account without having to log in using any UI at all.I want to provide temporary notebook servers for all whoever visits my site without authentication.
Then I suggest you to copy my copy&paste solution and replace the authenticator. Maybe you can do some publicly on GitHub so that later people who have the same requirements can find your solution. Once you run into specific issues, you can return to me and hopefully I find some time. Otherwise the JupyterHub manual is always a great source to look up information!
It works on local system if I replace the authenticator, but it’s complex to deploy on AWS ECS with docker network and all these things. Can we simplify this using one docker file or we have to use docker spawner to spawn another image notebooks to use tmpauthenticator?