Skip to content
/ Docker Public

This repository contains the base Dockerfiles for compiling and running SaC programs.

License

Notifications You must be signed in to change notification settings

SacBase/Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build status docker pulls

SaC Docker

This repository contains the base Dockerfiles used for compiling and running SaC programs.

Pre-built Docker images are available on DockerHub.

Try out SaC interactively

For an interactive, no-install experience, you can try out one of our docker images available through GitHub or directly on DockerHub. Before you start, install Docker or Docker desktop and make sure you can run the hello world example.

For first time users we recommend the interactive Jupyter Notebook environment. In a terminal, run the following command start the SaC Jupyter container. Multiple URLs will appear, open the one starting with 127.0.0.1.

sudo docker run -p 8888:8888 sacbase/sac-jupyter-notebook
  • -p 8888:8888 maps port 8888 from the host to port 8888 on the container.

Most likely you will want to access an existing notebook on your system. You can use a bind mount for this. Open a terminal and change directory to where your existing notebook is. Then, run the following command.

sudo docker run --rm -p 8888:8888 -v "$(pwd):/home/jovyan/work" sacbase/sac-jupyter-notebook
  • --rm removes the container once it is done running.
  • -v tells Docker to mount your current working directory to /home/jovyan/work inside the container. The Jupyter image's root directory is /home/jovyan and you can only access or save notebooks to that directory in the container.

About

This repository contains the base Dockerfiles for compiling and running SaC programs.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •