Course of Raku / Essentials / Running programs
Using docker
A Rakudo Star docker image can be used for both running a REPL shell and executing a program from a file.
To start the shell, run the following command. It will pull the latest rakudo-star
image if needed.
$ docker run -it rakudo-star
To run a program, use the following command:
$ docker run -v "$(pwd):/script" rakudo-star raku /script/hello.raku
Add the --rm
flag if you want to clean up the container and remove the file system when the container exits. Find more instructions on the project page.
External links
Course navigation
← Running programs / Running from IDE | Running programs / Using online services →
💪 Or jump directly to the exercise to this section.
Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська