Run a container
Inside the Sailbox:Use Compose
Copy your project into the Sailbox, then start it there:systemd
Devbox images already run systemd. For a custom image, callwith_systemd
and enable your service during the image build.
Define a service
Createworker.service next to your application:
worker.service
Build the image
create returns; check the application’s readiness before sending work.
Inspect and restart
Inside the Sailbox:with_systemd works with the Debian base, registry images, and Dockerfile
images. Compose images cannot use it. See the
image reference for timers and reboot behavior.