Skip to main content
Airship launches one Modal Sandbox per job with your token, in an App named airship-runners that it creates on first use. The Sandbox ends when the runner exits.

Connect

1

Create a token

In Modal, Settings → API Tokens → New token. The token ID (ak-...) and secret (as-...) are shown once.
2

Connect it

In Airship’s dashboard, Cloud → Modal: paste both, and an environment if runners should not use the workspace’s default one.

Configure

airship.yaml

What Airship creates

A Sandbox named after the runner (names are unique among the App’s running Sandboxes, so a repeated launch finds it), tagged airship-installation, airship-runner-id and airship-repository, with a timeout past the runner’s lifetime, at most 24 hours. Its command waits for the boot script Airship writes into it and becomes it, so the Sandbox ends with the runner.
Early access: built on Modal’s official Go SDK and tested against a model of it on every build, not yet run against the live service. Docker in Sandboxes is itself a recent Modal feature.