First time here? Check out the FAQ!

Ask Your Question
1

Install Docker image with Python2

asked 4 years ago

pgalashin gravatar image

updated 4 years ago

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?

Preview: (hide)

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 ( 4 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 4 years ago

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

Preview: (hide)
link

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: 4 years ago

Seen: 477 times

Last updated: Jan 05 '21