You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[question] run nerdctl as root but without sudo #341
Workaround is alias nerdctl=sudo nerdctl, or set SETUID on nerdctl binary.
(In the latter case, the nerdctl binary should be placed in ~/bin, and chmod 700 ~/bin)
Activity
tigerinus commentedon Nov 19, 2021
same question here - any anwser yet?
AkihiroSuda commentedon Nov 22, 2021
No, due to #473 (comment) .
Workaround is
alias nerdctl=sudo nerdctl, or set SETUID onnerdctlbinary.(In the latter case, the nerdctl binary should be placed in
~/bin, and chmod 700~/bin)AkihiroSuda commentedon Nov 30, 2021
Added a documentation about this in https://github.com/containerd/nerdctl/blob/master/docs/faq.md#does-nerdctl-have-an-equivalent-of-sudo-usermod--ag-docker-user-