Skip to content

how keep srun container alive for a long time #165

@William12github

Description

@William12github

Hi experts,
will the container launched by following way exit immediately after it execute the command '/etc/os-release'

$ srun --container-image=centos grep PRETTY /etc/os-release
PRETTY_NAME="CentOS Linux 8"
if so, how can I do the the setting in the container if I want? is there any way to keep it interactive ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions