Linux command
scrun 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Create
scrun create container_id
Start
scrun start container_id
Example
scrun state container_id
Kill
scrun kill container_id
Example
scrun kill container_id SIGKILL
Delete
scrun delete container_id
Example
scrun create container_id --debug
说明
scrun is an OCI runtime proxy for Slurm that runs containers as jobs. It allows container orchestration systems to submit container workloads to Slurm clusters. Containers are executed as Slurm jobs, leveraging the cluster's resource management and scheduling capabilities.
参数
- create
- Create a new container
- start
- Start a created container
- state
- Query container state
- kill _signal_
- Send signal to container
- delete
- Delete container and release resources
- --debug
- Enable debug logging
FAQ
What is the scrun command used for?
scrun is an OCI runtime proxy for Slurm that runs containers as jobs. It allows container orchestration systems to submit container workloads to Slurm clusters. Containers are executed as Slurm jobs, leveraging the cluster's resource management and scheduling capabilities.
How do I run a basic scrun example?
Run `scrun create container_id` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does create do in scrun?
Create a new container