Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions pages/linux/scrun.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# scrun

> An OCI runtime proxy for Slurm that runs containers as jobs.
> More information: <https://slurm.schedmd.com/scrun.html>.

- Create a new container with a specific ID:

`scrun create {{container_id}}`

- Start a previously created container:

`scrun start {{container_id}}`

- Query the state of a container:

`scrun state {{container_id}}`

- Send a signal to a container (default: SIGTERM):

`scrun kill {{container_id}}`

- Send a specific signal to a container:

`scrun kill {{container_id}} {{SIGKILL}}`

- Delete a container and release its resources:

`scrun delete {{container_id}}`

- Enable debug logging:

`scrun --debug {{create|start|kill|delete}} {{container_id}}`

- Display version information:

`scrun --version`