Install Docker image with Python2

asked 2020-09-18 03:52:53 -0500

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 07:10:36 -0500 )edit