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 user flag for exec #601

Merged
merged 1 commit into from
Dec 8, 2021
Merged

Conversation

junnplus
Copy link
Member

@junnplus junnplus commented Dec 8, 2021

Add user flag for exec.

./nerdctl exec -it -u nginx:nginx nginx -- id
uid=101(nginx) gid=101(nginx) groups=101(nginx)

@junnplus junnplus force-pushed the exec-user branch 3 times, most recently from 7a95fdd to ad50eda Compare December 8, 2021 04:33
cmd/nerdctl/exec.go Outdated Show resolved Hide resolved
@junnplus junnplus force-pushed the exec-user branch 2 times, most recently from 73b8d7c to 5b49674 Compare December 8, 2021 05:15
Signed-off-by: ye.sijun <junnplus@gmail.com>
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 e6956be into containerd:master Dec 8, 2021
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