About

The compose file is meant to run sagemath with Jupyter (the web-interface) started on port 8888.

Source

version: '3.9'

services:
  sagemath:
    image: sagemath/sagemath:latest
    ports:
      - 8888:8888
    volumes:
      - /mnt/docker/data/sagemath:/home/sage/notebooks
    command:
      - sage-jupyter