Skip to content
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

Merged
merged 1 commit into from
Jun 5, 2021

Conversation

rudeigerc
Copy link
Contributor

@rudeigerc rudeigerc commented Jun 4, 2021

Signed-off-by: Yuchen Cheng rudeigerc@gmail.com

Related to #215

This pull request adds nerdctl run --shm-size <SIZE>.

@@ -445,6 +450,14 @@ func runAction(clicontext *cli.Context) error {
opts = append(opts, privilegedOpts...)
}

Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated. Thanks a lot.

@AkihiroSuda AkihiroSuda added the status/needs-DCO-sign Needs DCO sign (the “Signed-off-by” in the commit message) label Jun 4, 2021
@AkihiroSuda AkihiroSuda mentioned this pull request Jun 4, 2021
2 tasks
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) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

“TestRunShmSize”

Copy link
Contributor Author

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>
@AkihiroSuda AkihiroSuda removed the status/needs-DCO-sign Needs DCO sign (the “Signed-off-by” in the commit message) label Jun 5, 2021
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda merged commit 5ea2cf1 into containerd:master Jun 5, 2021
@rudeigerc rudeigerc deleted the run-shm-size branch June 5, 2021 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants