Ask Your Question
0

Docker fails

asked 2023-12-22 12:47:44 +0100

Cyrille gravatar image

updated 2023-12-25 10:30:15 +0100

FrédéricC gravatar image

After struggling to install SageMath in Docker, it finally was correctly working.

Then suddenly some containers fails (I have the bad habit to let all processus open even when I am not using it). But there was other containers which were correctly functionning until a moment where nothing work anymore.

So I have uninstalled Docker andSageMath. After reinstallation all seemed to work . Cliking in the url I see my navigator opening. But it never happen that a page was open.

I don't know what to do.

Before Docker the windows installation was so simple. But since 2021, no upgrade has been done in that way.

My second problem is that is there a doc which explain how to install other software for Sagemath under docker (like Gambit) for DUMMIES.

Thank

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2023-12-23 17:48:09 +0100

saraedum gravatar image

Then suddenly some containers fails

There's not enough info in your description to say what happened, but probably you hit some limit for the number of processes by leaving everything open? Anyway, it seems you found a workaround.

Before Docker the windows installation was so simple. But since 2021, no upgrade has been done in that way.

Not sure I understand what you are saying. The old standalone Windows installer is gone because nobody was available to maintain it anymore.

Using docker to run SageMath on Windows is not the recommended solution. Have you tried the WSL approach described here?

My second problem is that is there a doc which explain how to install other software for Sagemath under docker (like Gambit) for DUMMIES.

The docker images are based on a Debian/Ubuntu. So any manual on how to install software in these systems on the command line should work. (Basically, apt-get update then apt-get install -y name.) If you don't know how to get to the command line, you can also run these commands by prefixing them with a ! in a SageMath session.

However, you likely want to install software into the SageMath system. In this case, you cannot use the sagemath/sagemath/ image but need to use the sagemath/sagemath-dev image. This allows you to run sage -i name for any of the optional packages.

edit flag offensive delete link more

Comments

After a long struggle, with your help and a little bit of ChatGPT, I finaly install Sagemath under Ubuntu. But when trying to install Jupyter it comes always to say WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. I know nothing about Linux system. What should I do ?

Cyrille gravatar imageCyrille ( 2023-12-28 16:18:27 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2023-12-22 12:47:44 +0100

Seen: 356 times

Last updated: Dec 23 '23