提交 5b0a7e6a 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!56 iSulad: add save oci spec when start

Merge pull request !56 from lifeng_isula/fix_user
......@@ -843,6 +843,12 @@ static int do_start_container(container_t *cont, const char *console_fifos[], bo
goto close_exit_fd;
}
if (save_oci_config(id, cont->root_path, oci_spec) != 0) {
ERROR("Failed to save container settings");
ret = -1;
goto close_exit_fd;
}
start_timeout = conf_get_start_timeout();
if (cont->common_config->config != NULL) {
tty = cont->common_config->config->tty;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册