question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JupyterLab O/S' launched by JupyterHub (i.e. by DockerSpawner) is causing cgroup-related issues such that podman(1) fails ...

See original GitHub issue

Dear 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:closed
  • Created 3 years ago
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

8reactions
nmvegacommented, Dec 24, 2020
0reactions
nmvegacommented, Dec 18, 2020

UPDATE2: Here

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found