Ask Your Question
1

Install Docker image with Python2

asked 2020-09-18 10:52:53 +0100

pgalashin gravatar image

updated 2021-01-05 20:28:19 +0100

FrédéricC gravatar image

I am trying to install a local Docker image of CoCalc, however, I'd like to keep using Sage-8.9 with Python2. Following the github instructions, I run

docker run --name=cocalc -d -v ~/cocalc:/projects -p 443:443 sagemathinc/cocalc

which results in Sage-9.1, so all my code stops working. How do I switch to Sage-8.9 with docker?

edit retag flag offensive close merge delete

Comments

I found the following solution:

docker run --name=cocalc -d -v ~/cocalc:/projects -p 443:443 sagemathinc/cocalc:67b7e8dece16

by viewing the "sagemathinc/cocalc" tags on http://hub.docker.com. But I don't know if this solution is permanent enough -- the tags listed there are only for the past 10 months

pgalashin gravatar imagepgalashin ( 2020-09-18 14:10:36 +0100 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2021-01-05 17:23:42 +0100

Harald Schilly gravatar image

Hi, I think the best solution is to fork the dockerfile configuration and modify the part that setups sage. In the git history, earlier revisions should show how 8.9 was built or well, more recent versions might build for python 2 as well. For more detailed support: license and support paragraph

edit flag offensive delete link more

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: 2020-09-18 10:52:53 +0100

Seen: 440 times

Last updated: Jan 05 '21