Running Stak Scheme as Docker containers
This page describes how to run pre-built Docker images of Stak Scheme and its utility commands. By reading this page, you will learn:
- What Docker images are available for the Stak Scheme interpreter and its utilities.
- How to run such Docker images on your local machine.
By using the Docker images, you can try out Stak Scheme without building or installing it on your local machine.
Docker images
Section titled “Docker images”We provide several Docker images for Stak Scheme and its utilities. The images are hosted on Docker Hub as listed below.
Running Docker containers
Section titled “Running Docker containers”Interpreter
Section titled “Interpreter”To run the Docker image of the stak interpreter, use the following command:
docker run -it --rm -v ./hello.scm:/hello.scm raviqqe/stak hello.scmNote that you need mount the Scheme file onto the Docker container so that the
stak command can access it inside the container.
To run the Docker image of the stak-repl REPL command, use the following
command:
docker run -it --rm raviqqe/stak-repl