-
Notifications
You must be signed in to change notification settings - Fork 604
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
add nerdctl run --shm-size <SIZE>
#240
Conversation
@@ -445,6 +450,14 @@ func runAction(clicontext *cli.Context) error { | |||
opts = append(opts, privilegedOpts...) | |||
} | |||
|
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.
Signed-off-by: rudeigerc
Could you use your real name, LGTM then.
Thanks.
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.
Updated. Thanks a lot.
run_test.go
Outdated
@@ -150,3 +150,10 @@ func TestRunCIDFile(t *testing.T) { | |||
|
|||
base.Cmd("run", "--rm", "--cidfile", fileName, testutil.AlpineImage).AssertFail() | |||
} | |||
|
|||
func TestShmSize(t *testing.T) { |
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.
“TestRunShmSize”
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.
FIxed. 😃
Signed-off-by: Yuchen Cheng <rudeigerc@gmail.com>
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.
Thanks
Signed-off-by: Yuchen Cheng rudeigerc@gmail.com
Related to #215
This pull request adds
nerdctl run --shm-size <SIZE>
.