Skip to main content
Version: Next

Docker

Both servers come as Docker images, so you can skip the Philote-Cpp build. You still need the Python environment on the client side.

Published images​

ImagePortServer
chrislupp/scirocco50051Analysis
chrislupp/scirocco-kulfan50052CST geometry
TagTracksUpdated
<version>, for example 0.2.0That releaseNever
<major>.<minor>, <major>, latestThe newest stable release in that seriesOn each stable release
nextThe develop branchOn each push to develop that passes the image smoke test

Use a version tag, not latest, so your results don't change under you. The commands on this site use the tag that matches the docs you're reading: next in the unreleased docs, and the release number in a release's docs.

docker run -d --rm --name scirocco -p 50051:50051 chrislupp/scirocco:next
docker run -d --rm --name scirocco-kulfan -p 50052:50052 chrislupp/scirocco-kulfan:next

Stop the servers with docker stop scirocco scirocco-kulfan.

Each tag holds a linux/amd64 and a linux/arm64 image, and Docker pulls the one that matches your machine, so the servers run natively on Apple silicon and Arm Linux hosts. Both are built and smoke-tested on native runners of their own architecture before the tag moves. Pass --platform linux/amd64 to docker run to pick one explicitly.

Use next to try changes before they are released. It moves with develop and can change between pulls, so pull it again before each run:

docker pull chrislupp/scirocco:next
docker run --rm -p 50051:50051 chrislupp/scirocco:next

The two images are published separately, so their next tags can briefly come from different commits.

Build the images​

From the repository root:

docker build -f docker/scirocco-server/Dockerfile -t scirocco-server .
docker build -f docker/kulfan-server/Dockerfile -t kulfan-server .

docker run --rm -p 50051:50051 scirocco-server
docker run --rm -p 50052:50052 kulfan-server

Both images run as a non-root user on debian:stable-slim.

Connect​

Containers look just like local servers. Connect to the mapped ports, then run the first analysis:

python examples/tutorials/quickstart.py

The images are built without HDF5, so the hdf5_file option isn't available in them. Build the servers yourself to record histories.