JupyterLab O/S' launched by JupyterHub (i.e. by DockerSpawner) is causing cgroup-related issues such that podman(1) fails ...
See original GitHub issueDear Friends:
I provide a very detailed
background on this issue here, but that issue is closed (wrong repo) and I need assistance. Please read that question because it is what this issue here is about. (Thank you).
When JupyterHub
spawns (via DockerSpawner
) a JupyterLab
container image, it is missing docker
runtime attributes and/or O/S capabilities
that allow RedHat’s podman(1)
to work properly. Here’s a summary example, but complete information is available at the above URL:
jovyan@lCONTAINER$ mkdir -p ${HOME}/data.d/mariadb.d/var/lib/mysql
jovyan@CONTAINER$ podman run --events-backend=file --name mariadb01 \
-p 3306:3306 -v ${HOME}/data.d/mariadb.d/var/lib/mysql:/var/lib/mysql:Z \
-e MYSQL_ROOT_PASSWORD=**** -e MYSQL_DATABASE=db01 \
-e MYSQL_USER=jdoe -e MYSQL_PASSWORD=**** -d docker.io/library/mariadb
Error: OCI runtime error: container_linux.go:370: starting container process caused:
process_linux.go:326: applying cgroup configuration for process caused:
no cgroup mount found in mountinfo
The above is not an issue when I spawn the identical container-image manually (again please see URL above for blow-by-blow walk-through), but it is a problem when JupyterHub
spawns it via DockerSpawner
. Please help me.
Thank you!
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
JupyterLab O/S' launched by JupyterHub (i.e. by DockerSpawner) is ...
JupyterLab O/S' launched by JupyterHub (i.e. by DockerSpawner) is causing cgroup-related issues such that podman(1) fails ... #402.
Read more >Podman(1) not working inside JupyterLab containers that are ...
Spawn the JupyterLab container image manually via CLI and issue podman(1) ... the following error when I issue the podman run command to...
Read more >Troubleshooting — JupyterHub 3.1.0 documentation
When troubleshooting, you may see unexpected behaviors or receive an error message. This section provides links for identifying the cause of the problem...
Read more >Deploying a containerized JupyterHub server with Docker
So far, no documentation seems to have addressed the medium-scale deployment, e.g., the one adapted for your university department, or for your ...
Read more >JupyterHub Documentation - Read the Docs
Three subsystems make up JupyterHub: • a multi-user Hub (tornado process). • a configurable http proxy (node-http-proxy).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
MY SOLUTION
UPDATE2: Here