sagemath/sagemath-jupyter本镜像提供SageMath数学软件系统的Docker化部署。警告:该镜像已不再更新,建议使用替代镜像sagemath/sagemath,该镜像同样包含Jupyter功能。
由于本镜像已停止更新,强烈建议使用替代镜像sagemath/sagemath。以下为替代镜像的基本使用指南:
bash# 启动SageMath并暴露Jupyter端口 docker run -it --rm -p 8888:8888 sagemath/sagemath
启动后,在浏览器中访问http://localhost:8888,输入容器日志中显示的访问token即可使用Jupyter环境。
创建docker-compose.yml文件:
yamlversion: '3' services: sagemath: image: sagemath/sagemath container_name: sagemath-workspace ports: - "8888:8888" # Jupyter端口 volumes: - ./notebooks:/home/sage/notebooks # 挂载本地目录保存工作文件 restart: unless-stopped command: jupyter notebook --ip=0.0.0.0 --allow-root --no-browser
启动服务:
bashdocker-compose up -d
替代镜像sagemath/sagemath是官方维护的最新版本,包含完整的SageMath功能集和Jupyter集成,持续接收更新和安全补丁,提供更稳定的运行环境和更丰富的功能扩展。建议优先采用该镜像进行部署和使用。
manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务