plasmabio / plasma

Plasma is an e-learning Jupyter-based platform for data analysis
https://docs.plasmabio.org
BSD 3-Clause "New" or "Revised" License
42 stars 12 forks source link

Not able to run environment with the latest version of Docker #227

Open pierrepo opened 3 months ago

pierrepo commented 3 months ago

Upgrading Docker from 24.0.5 to 27.1.0 led to the following error message while trying to run an environment:

image

According to this forum, this might be due to the way docker compose should be called from within ansible.

pierrepo commented 3 months ago

@jtpio do you have any idea how to fix this issue?

jtpio commented 3 months ago

Not sure. Maybe updating the version of dockerspawner used here may help?

https://github.com/plasmabio/plasma/blob/1f8376231a693a01d466e273091a0afcf725b60f/tljh-plasma/setup.py#L9

pierrepo commented 3 months ago

Thanks @jtpio I'm unsure how to implement / test this. Should I update the setup.py file and update plasma?

jtpio commented 3 months ago

Or maybe try to update dockerspawner manually to first see if that fixes the issue?

pierrepo commented 3 months ago

Something like:

sudo /usr/bin/python3 -m pip install --upgrade dockerspawner

Oddly, dockerspawner is not present in the current Python installation...

$ /usr/bin/python3 -m pip list | grep spawner
$