-
Notifications
You must be signed in to change notification settings - Fork 159
change start to run #184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change start to run #184
Conversation
Signed-off-by: Shukui Yang <yangshukui@huawei.com>
| cp runtimetest ${TESTDIR} | ||
|
|
||
| ocitools generate --output "${TESTDIR}/config.json" "${TEST_ARGS[@]}" --rootfs '.' | ||
| ocitools generate --tty --output "${TESTDIR}/config.json" "${TEST_ARGS[@]}" --rootfs '.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If docker-runc failed without --tty. I think that's docker-runc's problem. The spec says /dev/console is the default device for Linux which must be supplied by runtime.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--tty is unnecessary , add it we can see the output info,wouldn't it be better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On 08/05/2016 04:27 PM, keloyang wrote:
--tty is unnecessary , add it we can see the output info,wouldn't it be better?
Sorry, I'm not sure what you wanted to express. more detailed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debug info, such as DEBU[0000] validating ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On 08/05/2016 05:30 PM, keloyang wrote:
debug info, such as DEBU[0000] validating ...
That is not --tty's function.
If you want info like that, you just need to execute test_runtime.sh with-l debug.
--tty is not necessary.
|
With runtime-spec 1.0.0-rc1, ‘start’ has been replaced by ‘create’ and
‘start’ (opencontainers/runtime-spec#384). ‘run’ is specific to runC,
and ocitools should stick to the spec'ed API.
|
|
thank you, I think I can close this pr. |
I Follow the instructions(README.md), and "./test_runtime.sh -r docker-runc" execute failed. So I have this modify.
then I can see the validation.
Signed-off-by: Shukui Yang yangshukui@huawei.com