Skip to main content
Version: 0.2.0

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:0.2.0
docker run -d --rm --name scirocco-kulfan -p 50052:50052 chrislupp/scirocco-kulfan:0.2.0

Stop the servers with docker stop scirocco scirocco-kulfan.

The images are built for linux/amd64. On Apple silicon, Docker Desktop runs them under emulation: they work, but solve more slowly than a native build, and Docker prints a platform warning when it starts them.

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.