Docker
Containerize all things with BoxLang
Docker Images
Two distinct image tags have been published for BoxLang, each serving a specific purpose.
ortussolutions/boxlang:cli
— This is just the BoxLang CLI in a container. You can pass expressions, run the runtime itself, use it for tooling, cron jobs, and more.ortussolutions/boxlang:miniserver
- This is the BoxLang MiniServer runtime packaged into a docker container.
Docker Tags
Both images are tagged with the following tags:
latest
- The latest stable release of BoxLangsnapshot
- The latest snapshot release of BoxLangalpine-snapshot
- The latest snapshot release of BoxLang on Alpine Linux
We encourage you to use the snapshot
version of our images until we go stable.
Running Images
Running a command in a running container
Starting a docker container, run a command, and exit
Starting a MiniServer
Docker Compose for Images
Two example compose files are included below.
Docker Compose for BoxLang CLI
MiniServer
For more information on the options available when running the MiniServer container, see the image entry on Docker Hub.
Modules
The image has a module installer built in: /usr/local/bin/install-bx-module
which can be used via the BOXLANG_MODULES
env variable. If it detects it, then it will try to download an install those modules into the runtime's home. We recommend you do this by warming up the server first.
Runtime Source Code
The runtime source code can be found here: https://github.com/ortus-boxlang/boxlang-docker
We welcome any pull requests, testing, docs, etc.
Last updated